Cognipilot: CheatSheet for operation

Launch Notes for B3RB:

Serial terminal

# serial terminal to NavQPlus

screen /dev/ttyUSB0 115200

Setup WiFi connection

# Setup wifi hotspot on phone.

# same network as host PC

# show local wifi networks, find the one you want

sudo nmcli device wifi # for a text interface sudo nmtui

# Connect NavQPlus Wifi to network

sudo nmcli device wifi connect <network name> password <password>

FoxGlove open connection command

When Foxglove starts, "Open Connection" and type connect to ws://b3rb-xx.local:4242 (replace b3rb-xx with whatever your buggy's hostname is)

SSH Login

# SSH login to NavQPlus

ssh user@mrb3rb

#or

ssh user@mrb3rb.local

ROS2 Launch commands

# FIRST launch Ros2 electrode on host pc

ros2 launch electrode electrode.launch.py rviz2:=false

# Then launch Ros2 on B3RB

ros2 launch b3rb_bringup robot.launch.py


Set a ROS Domain ID

If there are multiple vehicles being used at the same time on the same network, then you will also need to set a unique ROS_DOMAIN_ID for on both the host LInux machine and the NavQPlus edit your file ~/.bashrc using VIM, NANO or GEDIT

change the line (find with CTRL+W) export ROS_DOMAIN_ID=xxx

where xxx is a unique number from the other robots

Last updated