07/2023






sudo apt update
sudo apt upgrade
sudo apt install gitmkdir -p ~/git/cognipilot/
cd ~/git/cognipilot/
git clone git@github.com:CogniPilot/helmet.git
cd helmet
./scripts/install.sh -f dream/mrbuggy3.yamlsource ~/.bashrc
source ~/.profilecd ~/git/cognipilot/ws/cerebri/app/mrbuggy3
west build -b mimxrt1062_fmurt6 -pwest flashminicom -D /dev/<device_name> -b 115200sudo apt update
sudo apt upgrade
sudo apt install ros-humble-actuator-msgs
mkdir -p ~/git/cognipilot/src
cd ~/git/cognipilot/src
git clone git@github.com:CogniPilot/synapse_ros.git
git clone git@github.com:CogniPilot/synapse_msgs.git
git clone git@github.com:CogniPilot/synapse_protobuf.git
git clone git@github.com:CogniPilot/synapse_tinyframe.git
cd ~/git/cognipilot
colcon build --symlink-installsudo vi ~/.net.sh
``` (Add the following lines in ~/.net.sh)
#!/bin/bash
sudo ethtool -s eth0 master-slave forced-slave
sudo ifconfig eth0 192.0.2.2 netmask 255.255.255.0
```echo "bash /home/$USER/.net.sh" >> ~/.bashrc
source ~/.bashrcros2 run joy joy_node --ros-args -r /joy:=/cerebri/in/joy
cd ~/git/cognipilot/install
source setup.bash
ros2 launch synapse_ros synapse_ros.launch.py