- Boot system (switch on 1)
- SSH into the robot and start a tmux.
roslaunch goldorak_bringup goldorak.launch
- Wait for
odom received
- Plug starter
- Take reference by pushing on fishing module's Y and Z axis until you hear a click.
- Open a new tmux pane (Ctrl-B then C).
- Edit
smach_demo.py
to set team color. roslaunch goldorak_bringup strategy.launch
.- Wait for
waiting for starter
and then arm emergency stop. - Detach tmux (Ctrl-B then D), then exit SSH.
- Pray and pull the starter when told to.
You'll need to create a virtual CAN interface to simulate the CAN interface on the robot
fab vcan:'vcan0'
Append the following to /etc/modules
:
can
can_raw
vcan
Append the following to /etc/network/interfaces
:
allow-hotplug can1
auto can1
iface can1 can static
pre-up /usr/bin/env config-pin overlay cape-universaln
pre-up /usr/bin/env config-pin P9.24 can
pre-up /usr/bin/env config-pin P9.26 can
bitrate 1000000
samplepoint 0.875
Build the nodes and run with simulated motors
./build.sh
roslaunch goldorak_bringup goldorak.launch simulated_motors:=true
Then, you can give target points to the robot via the monitoring interface
roslaunch goldorak_bringup monitor.launch
The robot can also be simulated using Gazebo. In this case, the differential base control and odometry are handled by ROS Control. Higher level nodes will run as on the robot.
Run the simulation
roslaunch goldorak_simulation goldorak.launch
The robot can also be simulated partially without Gazebo. Motor boards are simulated by a basic python script. Higher level nodes will run as on the robot.
Run the simulation
roslaunch goldorak_bringup goldorak.launch simulated_motors:=true
For dependencies, you should look at the setup guidelines in Setup.md
.