Outdoor Setup - mzahana/dlp GitHub Wiki
Hardware
Software
-
configure a PC/laptop as ROS msater
-
Configure all ODROID to connect to the
ROS_MASTER_URI -
collect the zero-GPS point (lower-left point of the grid) and the East point. Modify the
grid_corner_Poandgrid_corner_PEparameters in thedlp/config/problem_setup_outdoor.yamlaccordingly. -
Run
roscoreon the master PC -
Each defender's ODROID runs
roslaunch dlp defender_mavros.launch id:=0
adjust the id:=0 paramter according to the defender number in the team. Numbering starts from 0.
- On the attacker's ODROID, run
roslaunch dlp attacker_mavros_offboard_joystick.launch id:=0
- On the master PC, run the supervisory node
roslaunch dlp master_gps_outdoor.launch
-
On the master PC, connect a joystick and give privileges, see this wiki
-
On the master PC, run the joystick node
roslaunch dlp joystick_outdoor.launch id:=1
NOTE id:=1 corresponds to attacker number which to be controlled, Counter starts from 1.