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

Gazebo Simulation - Rover in Offboard Mode #10936

Closed
JoshMarino opened this issue Nov 28, 2018 · 3 comments · Fixed by #12765
Closed

Gazebo Simulation - Rover in Offboard Mode #10936

JoshMarino opened this issue Nov 28, 2018 · 3 comments · Fixed by #12765

Comments

@JoshMarino
Copy link

JoshMarino commented Nov 28, 2018

I am attempting to simulate the rover in Gazebo using ROS and Mavros, following this example. I am able to arm the rover, set a home position using its current GPS position, and switch to offboard mode. However, when I next try to send a position command {x: 10, y: 0, z: 0} to /mavros/setpoint_position/local at 20 Hz, the rover does not move. The only thing that happens is that the front wheels turn all the way to the left. Even tried changing the position command to {x:0 , y: 10, z: 0} and nothing happened either.

I am able to control the iris model using the same approach in Gazebo using ROS and Mavros in Offboard mode, but the rover does not work. The only difference between the iris and rover simulations I am running is not calling /mavros/cmd/takeoff for the rover (although I tried it and it said unable to takeoff, try disarming and calling it again).

Any help would be appreciated.

@stale stale bot closed this as completed Mar 12, 2019
@SalimTerryLi
Copy link
Contributor

It is because current rover controller doesn 't support navigating with local NED position. And there are still some bugs affecting navigating with attitude setpoint.

@SalimTerryLi
Copy link
Contributor

@julianoes Should we re-open this issue? Offboard mode is essential for an automatic rover. And it is not too difficult to fix.

@julianoes julianoes reopened this May 27, 2019
@stale stale bot removed the Admin: Wont fix label May 27, 2019
@julianoes
Copy link
Contributor

@JoshMarino or @SalimTerryLi did you make any progress on this? It seems like you know what's missing and could potentially fix it. 😄

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

Successfully merging a pull request may close this issue.

3 participants