ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to implement control of Husky robot using voltage of motors or rotation of wheels directly?

asked 2023-04-02 02:21:56 -0500

ajnyh gravatar image

I am trying to control the rotation speed of Husky's wheels directly rather than linear and angular velocities of the robot. Is that possible and how it can be implemented?

edit retag flag offensive close merge delete

Comments

What type of ros node is subscribed to the cmd_vel topic?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-04-02 11:03:22 -0500 )edit

ROS node /twist_mux is subscribed to the cmd_vel

ajnyh gravatar image ajnyh  ( 2023-04-03 04:21:46 -0500 )edit

OK, what type of node follows the twist_mux?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-04-03 07:07:03 -0500 )edit

twist_mux publishes /husky_velocity_controller/cmd_vel which is subscribed by node husky_node. husky_node publishes the following topics * /diagnostics [diagnostic_msgs/DiagnosticArray] * /husky_velocity_controller/odom [nav_msgs/Odometry] * /husky_velocity_controller/parameter_descriptions [dynamic_reconfigure/ConfigDescription] * /husky_velocity_controller/parameter_updates [dynamic_reconfigure/Config] * /joint_states [sensor_msgs/JointState] * /rosout [rosgraph_msgs/Log] * /status [husky_msgs/HuskyStatus] * /tf [tf/tfMessage]

ajnyh gravatar image ajnyh  ( 2023-04-04 04:30:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-04 06:17:40 -0500

Mike Scheutzow gravatar image

What you describe in the comments matches the manufacturer's smaller robot, the Jackal. On that robot, they use a rosserial-master to pass the cmd_vel message to a proprietary circuit board called the MCU. As far as I know, the manufacturer does not provide a software API to send commands to the individual wheels, so I doubt that direct wheel velocity control is possible (at least, not without a hardware hack that would completely void the warranty.)

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2023-04-02 02:21:56 -0500

Seen: 73 times

Last updated: Apr 04 '23