Skip to content

Roblibs/rovi_control_board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rovi_control_board

Tests for the Yahboom ROS Control Board used by the Room View Bot

Testing

quick test

list devices and add acces rights with sudo chmod a+rw /dev/ttyUSB0

adding rule

run script from https://github.com/Roblibs/Rosmaster_Lib/blob/V3.3.9/add_rule.sh

sudo ./add_rule.sh my_ros_board

the run

uv run main.py

joystick discovery

sudo apt update
sudo apt install bluetooth bluez bluez-tools python3-evdev
bluetoothctl
#> power on
#> agent on
#> default-agent
#> scan on
#> [NEW] Device XX:XX:XX:XX:XX:XX Wireless Controller
#> pair XX:XX:XX:XX:XX:XX
#> trust XX:XX:XX:XX:XX:XX
#> connect XX:XX:XX:XX:XX:XX
#> quit
ls /dev/input/
sudo apt install joystick
jstest /dev/input/js0

sudo apt install python3-pygame

Influx Time series db

subscribe to topics and post on influxdb

uv run tsdb/ros_to_db.py

Battery voltage

State Per-cell Voltage Total (3S) Voltage
Fully charged (max safe) 4.20 V 12.60 V
Nominal / mid-charge 3.70 V 11.10 V
Recommended recharge point (~20% left) 3.65–3.70 V ≈ 10.95–11.10 V
Low but safe 3.50 V 10.50 V
Critical / don’t go below 3.00 V 9.00 V

About

Tests for the Yahboom ROS Control Board used by the Room View Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages