-
If using RDP to control the data collection system, set up a RDP connection on the Windows laptop.
- Open the
Remote Desktop Connection
program (should be a default program on Windows). - Enter the computer name that you've set, i.e.
dart-radar.local
, and your username. - (Optional) Create a shortcut: click
Show Options
, thenSave As...
.
- Open the
-
If manual time synchronization is required, set up the Windows computer as a NTP server.
- You can also use the linux computer as a NTP server or a common external NTP server (preferred). Only follow these instructions if that is not possible.
- See full instructions here.
-
Install mmWave studio & dependencies. See the DCA1000EVM Quick Start Guide for full instructions.
- Make sure to set a static IP address (
192.168.30.33
) for the network interface used as shown in step 3. - Make sure to install the matlab runtime engine noted in step 4.
- You may need to install the mmWave SDK.
- Make sure that all 6 COM ports are detected as shown in Step 6 / Figure 4. If the
XDS110 Class
ports are not detected, see the note about installing EMUPACK. - NOTE: you may need to disable windows firewall, which might block the ports used by the radar by default.
- NOTE: keep a copy of the mmWave installer. If the radar computer loses power while mmWave studio is running, it may become corrupted in a subtle way and require reinstallation (the symptoms we observed were a "null reference" error when trying to start data collection (but not initialize the radar/capture card), and mmWave studio failing to read the FPGA version).
- Make sure to set a static IP address (
-
Clone this repository and install dependencies.
git clone [email protected]:thetianshuhuang/rover
- NOTE: submodules (i.e. recursive cloning) are not used by the radar data collection system.
- Install Python >3.8, and
pip install -r radar/requirements.txt
.
-
Configure the lua scripts.
- Note which COM port is labeled "XDS110 Class Application/User UART". You can verify that you have selected the correct one using mmWave studio:
- Open mmWave studio.
- Click the
Set
button underBoard Control / Reset Control / Reset
. Wait for the board to finish resetting. - Select the COM port in the
Board Control / RS232 Operations
dropdown. - Click
Connect
. TheRS232 Connectivity Status
field should turn toConnected
.
- Copy sample configuration
rover/radar/_config.json
torover/radar/config.json
, and update it with your configuration parameters.- Make sure to set the
com
entry with the COM port number noted above. - Unless you have a non-standard mmWave Studio installation, none of the other fields need to be changed.
- Make sure to set the
- Build the lua scripts:
python build.py
- Note which COM port is labeled "XDS110 Class Application/User UART". You can verify that you have selected the correct one using mmWave studio:
-
If using SSH to control the data collection system, make sure to install/enable SSH.
- A virtual terminal client like
screen
,tmux
,zellij
is also helpful. We usescreen
in these instructions (sudo apt-get -y install screen
).
- A virtual terminal client like
-
Synchronize time if required (
sudo apt-get install -y ntpdate
if needed):sudo ntpdate dart-radar.local
-
Set
Link-Local
only. In the GUI:- Go to Settings/Network. Click on the ''settings'' button next to the wired connection.
- In the IPv4 tab, set
IPv4 Method
toLink-Local Only
. - In the IPv6 tab, set
IPv6 Method
toLink-Local Only
. - Disable and re-enable the wired connection.
-
Install ROS Noetic
- NOTE: make sure you activate the ROS environment on each terminal you use to run subsequent ROS commands:
source /opt/ros/noetic/setup.bash
- NOTE: make sure you activate the ROS environment on each terminal you use to run subsequent ROS commands:
-
Clone this repository. Make sure to clone all subrepositories!
git clone [email protected]:thetianshuhuang/rover --recursive
- Use
git submodule update --init --recursive
if you forgot togit clone --recursive
.
- Use
-
Install ROS dependencies.
- Install dependencies for ouster-ros.
- Install
python3-catkin-tools
:sudo apt-get -y install python3-catkin-tools
- Follow manual installation instructions in
lidar/catkin_ws/src/xsens_ros_mti_driver
:pushd src/xsens_ros_mti_driver/lib/xspublic && make && popd
-
Build:
source /opt/ros/noetic/setup.bash catkin build --cmake-args -DCMAKE_BUILD_TYPE=Release
- Use
catkin clean
to delete all built files if a rebuild is needed. --cmake-args -DCMAKE_BUILD_TYPE=Release
is needed forouster-ros
.
- Use
Install the following on a fast computer, ideally with both good single-core CPU performance and a GPU.
Cartographer: You're on your own for this one.
- ROS Noetic is required.
- Cartographer ROS placed inside the currently sourced
catkin_ws
.
Python: The python environment for DART is a superset of rover
, so you can use that if you have one set up.
- Ensure that you have python (>=3.8) and CUDA (>=11.8).
- Install jax.
- Install
libhdf5
:sudo apt-get -y install libhdf5-dev
- Install python dependencies:
pip install -r processing/requirements.txt