Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base effort not published #307

Open
hello-binit opened this issue Apr 26, 2024 · 0 comments
Open

Base effort not published #307

hello-binit opened this issue Apr 26, 2024 · 0 comments

Comments

@hello-binit
Copy link
Contributor

The status dictionary for the mobile base is missing the effort state. The stepper status dictionary contains motor effort, but these values aren't converted into mobile base effort.

self.status = {'timestamp_pc':0,'x':0,'y':0,'theta':0,'x_vel':0,'y_vel':0,'theta_vel':0, 'pose_time_s':0,'effort': [0, 0], 'left_wheel': self.left_wheel.status, 'right_wheel': self.right_wheel.status, 'translation_force': 0, 'rotation_torque': 0}

The effort array isn't used anywhere else:
Screenshot from 2024-04-26 00-24-16

The "translation_force" and "rotation_torque" keys are marked as deprecated:

self.status['translation_force'] = 0 #Deprecated
self.status['rotation_torque'] = 0 #Deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant