Closed bastinat0r closed 5 years ago
On the turtlebot, netplan
failed.
Quick fix: sudo mv /etc/netplan/50-cloud-init.yaml ~/
Running ~/DrivingSwarm/firstrun.sh
seems to be useful.
export TURTLEBOT3_MODEL=burger
has to be set on every terminal.
Remember to source both /opt/ros/melodic/setup.bash
and ~/DrivingSwarm/devel/setup.bash
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.
for simulation, following launch files need to be launched separately:
roslaunch turtlebot3_fake turtlebot3_fake.launch
roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
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