Code Monkey home page Code Monkey logo

t07_robot's Introduction

๐Ÿ’พ 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 name Type
Subscribed Topics
Default name Type Description
/motor/left/target std_msgs/Float32 Motor left set-point in m/s
/motor/right/target std_msgs/Float32 Motor right set-point in m/s
Parameters
Name Default Description
can_iface can0 Network name of CAN bus.
can_node_id 100 Cyphal/CAN node id.
motor_left_topic motor/left/target
motor_left_topic_deadline_ms 100
motor_left_topic_liveliness_lease_duration 1000
motor_left_rpm_port_id 600 Cyphal port ID for CyphalRobotController/CAN motor left RPM messages.
motor_right_topic motor/right/target
motor_right_topic_deadline_ms 100
motor_right_topic_liveliness_lease_duration 1000
motor_right_rpm_port_id 600 Cyphal port ID for CyphalRobotController/CAN motor right RPM messages.
wheel_left_diameter_mm 130.0 Diameter of the left wheel in in mm
wheel_right_diameter_mm 130.0 Diameter of the right wheel in in mm

Install dependencies

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

t07_robot's People

Contributors

aentinger avatar dependabot[bot] avatar

Watchers

 avatar  avatar  avatar

t07_robot's Issues

[Feature Request] Evaluate feedback of CyphalRobotController07 if emergency button is pressed

โšก Feature Request

Please Describe The Problem To Be Solved
Currently the robot control package is unaware if the emergency button has been pressed. This leads to the robot proceeding with the previous set speed if and when the emergency button is released.

(Optional): Suggest A Solution
Evaluate the state of the emergency button as reported back by the CyphalRobotController07, then adjust the internal control logic accordingly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.