mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Cleanup of gazebo plugins (#46)
* Upgraded plugins for gazebo 7 * Fixed documentation on sensors
This commit is contained in:
committed by
Peter Johnson
parent
6d9b3b0aaa
commit
e3eae023da
@@ -40,8 +40,8 @@ void Servo::Load(physics::ModelPtr model, sdf::ElementPtr sdf) {
|
||||
torque = 5;
|
||||
}
|
||||
|
||||
gzmsg << "initializing awesome servo: " << topic
|
||||
<< " joint=" << joint->GetName() << " torque=" << torque << std::endl;
|
||||
gzmsg << "initializing servo: " << topic << " joint=" << joint->GetName()
|
||||
<< " torque=" << torque << std::endl;
|
||||
|
||||
// Connect to Gazebo transport for messaging
|
||||
std::string scoped_name =
|
||||
|
||||
@@ -23,9 +23,10 @@ using namespace gazebo;
|
||||
* To add a servo to your robot, add the following XML to your robot
|
||||
* model:
|
||||
*
|
||||
* <plugin name="my_servo" filename="libgz_servo.so">
|
||||
* <plugin name="my_servo" filename="libservo.so">
|
||||
* <joint>Joint Name</joint>
|
||||
* <topic>/gzebo/frc/simulator/pwm/1</topic>
|
||||
* <zero_position>0</zero_position>
|
||||
* </plugin>
|
||||
*
|
||||
* - `link`: Name of the link the servo is attached to.
|
||||
|
||||
Reference in New Issue
Block a user