Comments (3)
I moved this issue to gazebo_ros2_control, because this is more a question of simulation than ros2_controllers. (I assumed you mean gazebo classic instead of gazebo? If not, I'll move it to gz_ros2_control).
If you use a velocity command interface with gazebo_ros2_control, then the velocity of the physics engine is "overwritten" and no effort is calculated, hence the state interface given back reads zero. But velocity interface is de-facto standard for wheeled robots, this should not be the problem here.
Have you tried to move the robot around by manually applying a force from the GUI? If this works (and you haven't accidentally fixed the robot in the world frame), then try to use a effort_controllers/JointGroupEffortController for one arm, apply the effort and see what happens.
from gazebo_ros2_control.
Hi thank you for your answer. Youre right im using Gazebo classic.
My robot is not fixed to the world frame and i can move it around. I already tried to use the JointTrajectoryController to set the goal position and that worked completely fine. Now i've tried it with the EffortController and that worked also. Just when im using the VelocityController the Wheels and Arm arent spinning as soon as they get contact with the Ground.
from gazebo_ros2_control.
This is a drawback of the implementation with writing position or velocity values to the physics engine, see #240 for a similar issue.
To overcome this, I'd suggest to write an own gazebo plugin, exposing velocity interfaces to your controller but writing effort to the joints in the simulation loop. In between you can use a high-gain PID controller or similar.
from gazebo_ros2_control.
Related Issues (20)
- Force Torque data stored in imu vector HOT 2
- Passive joints are broken HOT 4
- Unexpected behavior when using passive joints in closed-loop kinematic chains HOT 2
- FT sensors possible bug HOT 1
- Kinematic chains with passive joints don't work with position interface HOT 1
- Could use remote gazebo possible? HOT 2
- Humble 4.4 update broke joints HOT 9
- Add noise and latency to the joints feedback HOT 1
- ERROR: "struct hardware_interface::HardwareInfo’} has no member named ‘hardware_plugin_name" HOT 5
- Robot still saggs if interfaces are not claimed
- Issue running example script in Harmonic
- Loading controller failed,Exception thrown during init stage with message: expected [string] got [string_array] HOT 7
- Errors after launching demos: controller manager issue? HOT 7
- How can solve this problem? HOT 3
- No rule to make target needed by 'libgazebo_ros2_control.so' HOT 2
- How do I handle this issue? HOT 2
- Parser Error Couldn't parse parameter override rule - loading tricycle_controller from ros2_control HOT 20
- Do mimic joints on gazebo_ros2_control work for grippers with one part interacting with the rest? (1 to 5 Gripper)
- Error in destruction of rcl subscription handle: Failed to delete datareader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gazebo_ros2_control.