Skip to content

ROS2 port of Marvelmind's ROS package. All copyrights reserved by Marvelmind Robotics.

License

Notifications You must be signed in to change notification settings

aminballoon/ros_marvelmind_package

 
 

Repository files navigation

Marvelmind ROS2 Package

This package is a port of the ros_marvelmind_package from ROS to ROS2. All rights, as mentioned by the License, reserved by Marvelmind Robotics.

Installation from source

Simply clone this package to your workspace inside the src directory..
Then from the root of your workspace, install all dependencies with

rosdep install --from-paths src --ignore-src --rosdistro eloquent -r -y

And then build with

colcon build --symlink-install

This package was developed on and tested on ROS2 Foxy running on Ubuntu 20.04.

Prerequisites

  1. Ensure user is added to dialout group to get access to serial port. (needs a reboot)
  2. Follow the instructions on this page as well to ensure the same access.
  3. You can also add a file called 99-tty.rules under /etc/udev/rules.d with the following content:
#Marvelmind serial port rules
KERNEL==”ttyACM0”,GROUP=”dialout”,MODE=”666”

Bringup

Once you have ensured that a beacon or modem is connected to your PC, launch with:

ros2 launch marvelmind_nav marvel_driver_launch.py   

For read Beacon position and timestamp. To change the Port name, edit the launch file and replace it in this line in the launch file.

When the Modem is connected to your PC, You can sleep and wake up all of the beacon in system with these commands.

Sleep all the beacon with

ros2 launch marvelmind_nav sleep_beacon  

Wake all the beacon with

ros2 launch marvelmind_nav wake_beacon

About

ROS2 port of Marvelmind's ROS package. All copyrights reserved by Marvelmind Robotics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 75.8%
  • C++ 18.7%
  • Python 2.8%
  • CMake 2.7%