-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Rover: Add support for attitude set points (for offboard control) #13239
Comments
@jbeyerstedt To make it more consistent with the multirotor attitude setpoints, I would suggest the following setpoints would make sense.
You can look at how velocity tracking is being used in #13225 for supporting velocity setpoints for rover, but as multirotors use thrust with the combination of attitude / attitude rates I think it is better we go that direction with rover too. |
I agree with @Jaeyoung-Lim about the different control modes, that should be implemented.
Attitude setpoints have been added in #13323 and will be fixed by #13427. Is there a special reason, why the attitude setpoints only allow forward driving? Because for our rover we also need to drive backwards. |
@jbeyerstedt We are not handling the case when the rover is driving backwards, in that case we need to reverse the steering angle so it takes the shortest route and not the other way around |
I just added driving backwards for attitude control. See #13429 |
Closing as this is now supported as per #13429 |
The movement control loops (currently just the
rover_pos_control
module) only support position setpoints, but no attitude setpoints. Therefore therover_pos_control
module has to be extended or a new module has to be created.But first, support for actuator_control setpoints should be fixed (#13192).
To be discussed: What values should be controlled by an attitude control loop?
Yaw and velocity or just yaw and throttle/ thrust?
The second option would be easier to implement and in line with the MAVSDK API documentation of the offboard mode attitude setpoints.
If we want to control the velocity, some kind of positioning system or odometry (e.g. wheel encoders #12351) are needed. But that's more suitable for a velocity setpoint (which is part of position control).
As far as I know, there a two control modes in offboard:
Manual control (via offboard actuator_controls or RC remote) must also be considered (see #13192), but that is actually no control loop at a rover.
The text was updated successfully, but these errors were encountered: