Before running the code, follow the instructions in cbf_ros
folder to install the HSR ROS packages on your Ubuntu system.
- Copy
Tjanction.world
under~/cbf_ros/worlds
folder - Open two instances of MATLAB. In one instance, open
main.m
and in the other one opencbf_controller.m
. - Open a terminal in your ubuntu system and type
ifconfig
. Then, copy the ip address undereno1
and change the ip address ofrosinit('http://ip address:11311')
with the copied address inmain.m
andcbf_controller.m
scripts. - Run the simulator in Gazebo.
- Run
cbf_controller.m
in MATLAB. - Run
main.m
in the other MATLAB instance.