ilpincy / argos3

A parallel, multi-engine simulator for heterogeneous swarm robotics
http://www.argos-sim.info/
268 stars 121 forks source link

Actuator quadrotor_speed methods dont affect drones' movements #160

Closed YasmineMoumou closed 3 years ago

YasmineMoumou commented 3 years ago

The methods setRotationalSpeed() and setLinearVelocity() provided by the quadrotor_speed actuator (by GetActuator) don't work. When we try giving a velocity or a rotation to our drones, they do not move. We are only able to control their movement when we replace it with a quadrotor_position actuator and we affect its position.

ilpincy commented 3 years ago

This is because those methods are currently not implemented (simply for lack of time and use). Implementing them is not too hard, it boils down to setting the speeds rather than the positions in the PointMass3D models. If you feel like checking it out, the code to change is here:

SGauvin commented 3 years ago

This would be nice since there is a 3rd year undergrad project at Polytechnique Montréal where we use ARGoS to simulate drones!

ilpincy commented 3 years ago

This has been fixed a few days ago, I'm making a new release today.