Skip to content

New Robot: Install and setup

XuRobotics edited this page Feb 17, 2022 · 30 revisions

Setup the ground station:

On the ground station (a PC you use to send commands, waypoints, etc., to robot), set up the "client" module, you can either:

Build from source

Using docker

Setup the robot:

Building and installing the autonomy stack:

Build from source

Using docker

Building additional packages

cd catkin_ws/src/kr_autonomous_flight
vcs import < external_real_robot.yaml
vcs pull
cd ../..
  1. Build your code again
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin build

Important parameter files you should modify according to your purpose:

catkin_ws/src/kr_autonomous_flight/autonomy_core/control/control_launch/config/trackers_mp.yaml

catkin_ws/src/kr_autonomous_flight/autonomy_core/map_plan/map_plan_launch/config/mapper.yaml

Communication and ROS master setup:

Set up the robot as the ROS master, this is very important if your robot is going to lost communication with the ground station at some point.

Set up the communication without a PicoStation: the robot's wifi card needs to be configured as an access point (sending out a hotspot), and connect your ground station to that network. If you do it the other way around, once the communication is lost, the ROS master will be killed.

Set up the communication using a PicoStation: this document should be helpful.

Clone this wiki locally