Home

Awesome

<a href="https://107-systems.org/"><img align="right" src="https://raw.githubusercontent.com/107-systems/.github/main/logo/107-systems.png" width="15%"></a> :floppy_disk: t07_robot

Build Status Spell Check status

ROS control code for the T07 robot.

How-to-build

Note: Don't forget to install the dependencies.

cd $COLCON_WS/src
git clone --recursive https://github.com/107-systems/t07_robot
cd $COLCON_WS
source /opt/ros/humble/setup.bash
colcon build --packages-select t07_robot

How-to-run

cd $COLCON_WS
. install/setup.bash
ros2 launch t07_robot t07.py
ros2 launch t07_robot t07_4wd.py
ros2 launch t07_robot t07_tracked.py

Interface Documentation

Published Topics
Default nameType
Subscribed Topics
Default nameTypeDescription
/motor/left/targetstd_msgs/Float32Motor left set-point in m/s
/motor/right/targetstd_msgs/Float32Motor right set-point in m/s
Parameters
NameDefaultDescription
can_ifacecan0Network name of CAN bus.
can_node_id100Cyphal/CAN node id.
motor_left_topicmotor/left/target
motor_left_topic_deadline_ms100
motor_left_topic_liveliness_lease_duration1000
motor_left_rpm_port_id600Cyphal port ID for CyphalRobotController/CAN motor left RPM messages.
motor_right_topicmotor/right/target
motor_right_topic_deadline_ms100
motor_right_topic_liveliness_lease_duration1000
motor_right_rpm_port_id600Cyphal port ID for CyphalRobotController/CAN motor right RPM messages.
wheel_left_diameter_mm130.0Diameter of the left wheel in in mm
wheel_right_diameter_mm130.0Diameter of the right wheel in in mm

Install dependencies

git clone https://github.com/gsl-lite/gsl-lite && cd gsl-lite
mkdir build && cd build
cmake .. && make -j8
sudo make install
git clone https://github.com/catchorg/Catch2 && cd Catch2
mkdir build && cd build
cmake .. && make -j8
sudo make install
git clone https://github.com/fmtlib/fmt && cd fmt
mkdir build && cd build
cmake -DFMT_TEST=OFF ..
make -j8
sudo make install