ovgu-FINken / DrivingSwarm

All things driving swarm with global issue tracker and goals.
MIT License
0 stars 2 forks source link

Start the Simulation, Control one Robot #15

Closed bastinat0r closed 5 years ago

bastinat0r commented 5 years ago
maz3max commented 5 years ago

On the turtlebot, netplan failed. Quick fix: sudo mv /etc/netplan/50-cloud-init.yaml ~/

maz3max commented 5 years ago

Running ~/DrivingSwarm/firstrun.sh seems to be useful.

maz3max commented 5 years ago

export TURTLEBOT3_MODEL=burger has to be set on every terminal.

maz3max commented 5 years ago

Remember to source both /opt/ros/melodic/setup.bash and ~/DrivingSwarm/devel/setup.bash

maz3max commented 5 years ago

Environment variables ROS_MASTER_URI and ROS_HOSTNAME must be set on both the desktop and the robot. On the robot, roslaunch turtlebot3_bringup turtlebot3_robot.launch must be launched. On the desktop, roslaunch turtlebot3_bringup turtlebot3_remote.launch must be launched. Then, we can run the all the other stuff like rviz and the teleop nodes.

maz3max commented 5 years ago

grafik

maz3max commented 5 years ago

for simulation, following launch files need to be launched separately: roslaunch turtlebot3_fake turtlebot3_fake.launch roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch

maz3max commented 5 years ago

our .bashrc of the turtlebook:

source /opt/ros/melodic/setup.bash
source ~/DrivingSwarm/devel/setup.bash

export ROS_MASTER_URI=http://10.61.7.100:11311
export ROS_HOSTNAME=10.61.7.100
export TURTLEBOT3_MODEL=burger