RoboticaUtnFrba / create_autonomy

ROS autonomy stack for iRobot Create 2.
BSD 3-Clause "New" or "Revised" License
28 stars 38 forks source link

Add new battery plugin #252

Closed eborghi10 closed 3 years ago

eborghi10 commented 3 years ago

Description

This PR replaces the old battery plugin by a simpler implementation.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Also list any relevant details for your test configuration.

# Start robot simulation
HIGH_BATTERY_CONSUMPTION=true GUI=false RVIZ=true LOCALIZATION=amcl roslaunch ca_gazebo create_house.launch
# Start behavior tree
roslaunch ca_behavior_tree bt.launch
# Echo battery voltage topic
rostopic echo /create1/battery/voltage

Test Configuration:

Checklist: