correctly read back p/i/d values from the motors.

Bug #801621 reported by Ugo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sr ROS interface
Fix Committed
Wishlist
Ugo

Bug Description

Most of them are sent 2 at a time.

Related branches

Ugo (ugocupcic)
Changed in sr-ros-interface:
milestone: none → alpha1
assignee: nobody → Ugo (ugocupcic)
importance: Undecided → Wishlist
Revision history for this message
Ugo (ugocupcic) wrote :

 MOTOR_DATA_IMAX_DEADBAND_SIGN: how do we get the 3 values out of this?

Revision history for this message
Hugo Elias (hugo-shadowrobot) wrote :

The left hand value (IMax) is in the 'torque'. The right hand value (Deadband and Sign) are in the 'misc'.
Same goes for the other config readbacks, like F_P and I_D.

Revision history for this message
Ugo (ugocupcic) wrote :

how do I separate the deadband from the sign? (is it just a signed int, if < 0 -> sign = "-" , etc... , or do we have 2 concatenated int8 ?)

Ugo (ugocupcic)
Changed in sr-ros-interface:
status: New → In Progress
Revision history for this message
Ugo (ugocupcic) wrote :

deadband is byte 0, sign is byte 1 (if sign = 0 -> + ; if sign = 1 -> - )

Changed in sr-ros-interface:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.