Follow instructions here https://pupper-v3-documentation.readthedocs.io/en/latest/guide/software_installation.html to flash your Raspberry Pi 5 with our custom image.
sudo apt install git-lfs
git lfs install
git clone https://github.com/Nate711/pupperv3-monorepo.git --recurse-submodules
./install_dev_dependencies.shcd ros2_ws
source build.shPlease see the docs!
- Camera FPS is 10hz by default. Adjustable in
ros2_ws/src/neural_controller/launch/config.yamlwith theFrameDurationLimits: [100000, 100000]parameter
- Hold L1 until BAG status icon turns green to indicate mcap bag recording in process
- Move Pupper through desired motion
- Press R1 to stop recording
- View recorded mcap file in foxglove to verify animation
- Move bag to pupperv3-monorepo/bags
- On the robot use
scripts/mcap_to_csv.py [path_to_mcap] -s ABSOLUTE_START_TIME -e ABSOLUTE_END_TIMEto convert to csv - Copy csv to ros2_ws/src/animation_controller_py/launch/animations
- Rebuild ros2 workspace with
./build.sh - Update pupster.py with animation nickname
- If editing animation frame rate or fade time, make sure to edit both config.yaml and pupster.yaml
Launch mock camera and detection nodes so you can experiment with vision with simulated robot
ros2 launch hailo detection_with_mock_camera_launch.pyLaunch Foxglove bridge so you can see detections in Foxglove studio
ros2 run foxglove_bridge foxglove_bridge