Comments (6)
The model we've been using is that every robot has it's own controller manager, with it's own set of hardware interfaces and it's own set controllers. In that model, each robot is namespaced, and every robot has a robot_description parameter in its own namespace. I think this model would also transfer to the gazebo world, with a controller manager plugin for each robot that is simulated.
As a second note, we can pass configuration parameters to each controller through the parameter server; it doesn't necessarily need to be passed on by the controller manager. But I'm hoping this won't be necessary if the above model can be applied to your use case.
from ros_controllers.
I agree with all of the above.
In that model, each robot is namespaced, and every robot has a robot_description parameter in its own namespace.
The problem is urdf.initParam()
uses a non-namespaced nodehandle. See model.cpp
from ros_controllers.
As an aside, maybe urdf.initParam() could be overloaded to take a nodehandle or namespace string.
from ros_controllers.
I agree.
from ros_controllers.
+1 for fixing urdf.initParam().
As a workaround for now, you can use the urdf.initString() method in your controllers, and explicitly get the robot_description parameter from the controller manager nodehandle. So you basically implement the correct behavior of initParam() in the controller.
from ros_controllers.
Fixed in merge.
from ros_controllers.
Related Issues (20)
- ackermann_steering_controller: electronic 'differential' HOT 1
- Unexpected behavior in desired accelerations HOT 1
- trajectory_interface::sample does not populate PosVelAcc::time_from_start
- where is the "#include <four_wheel_steering_msgs/FourWheelSteeringStamped.h>"? HOT 1
- [diff_drive_controller] requires controller_manager_msgs HOT 4
- four_wheel_steering launch HOT 1
- [diff_drive_controller] subscribe to another topic
- JointTrajectoryController: setHoldPosition results in unexpected movement when restarting controller HOT 1
- [please delete old question]
- joint_trajectory_controller setHoldPosition could lead to unexpected delay in RT loop when called from inside of RT thread
- Robotic arm hits the ground HOT 1
- Duplicate function definition in joint_trajectory_controller
- First feedback message has incorrect time_from_start.
- Why don't position_controllers publish the controller state like effort_controllers do? HOT 7
- Disable cmd_vel_timeout HOT 4
- Discussion: How to use position_controllers/joint_group_position_controller with robot:HW
- Publish Wheel Velocity to Hardware in DiffDriveController [Question]
- Control loop stops after sometime cauring tf failure between moving joints and end effector
- joint_state_controller will not publish when reset_controllers is held True HOT 3
- JointTrajectoryController: Joint velocity states become NaN 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 ros_controllers.