You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add command queue to servo to account for latency (#2594)
* add command queue to servo to account for latency
* run pre-commit
* fix unsigned compare
* Update moveit_ros/moveit_servo/config/servo_parameters.yaml
Fix wording
Co-authored-by: Sebastian Castro <[email protected]>
* Update moveit_ros/moveit_servo/src/servo.cpp
Co-authored-by: Sebastian Castro <[email protected]>
* Update moveit_ros/moveit_servo/src/servo.cpp
Co-authored-by: Sebastian Castro <[email protected]>
* add comments and change variable names
* add checks to determine what state information should be published
Signed-off-by: Paul Gesel <[email protected]>
* change latency parameter name
Signed-off-by: Paul Gesel <[email protected]>
* factor command queue out of servo instance
Signed-off-by: Paul Gesel <[email protected]>
* update demos
Signed-off-by: Paul Gesel <[email protected]>
* needs clean up but working well
* deal with duplicate timestamps for sim
* add acceleration limiting smoothing
* add timeout check in filter
Signed-off-by: Paul Gesel <[email protected]>
* factor out robot state from servo call
Signed-off-by: Paul Gesel <[email protected]>
* update comments in smoothing pluin
Signed-off-by: Paul Gesel <[email protected]>
* fix tests
Signed-off-by: Paul Gesel <[email protected]>
* change velocity calculation to make interpolation not overshoot
Signed-off-by: Paul Gesel <[email protected]>
* Update moveit_ros/moveit_servo/config/panda_simulated_config.yaml
Co-authored-by: Sebastian Castro <[email protected]>
* Update moveit_ros/moveit_servo/config/servo_parameters.yaml
Co-authored-by: Sebastian Castro <[email protected]>
* Update moveit_ros/moveit_servo/demos/cpp_interface/demo_joint_jog.cpp
Co-authored-by: Sebastian Castro <[email protected]>
* fix time calculation
Signed-off-by: Paul Gesel <[email protected]>
* add check to ensure time interval is positive
Signed-off-by: Paul Gesel <[email protected]>
* simplify demos
Signed-off-by: Paul Gesel <[email protected]>
* wait for first robot state before starting servo loop
Signed-off-by: Paul Gesel <[email protected]>
* add comments to acceleration filter
Signed-off-by: Paul Gesel <[email protected]>
* fix wait time units
* fix logic bug in smoothHalt and remove stopping point from trajectory message. Still some overshoot.
Signed-off-by: Paul Gesel <[email protected]>
* add acceleration limit to servo
Signed-off-by: Paul Gesel <[email protected]>
* remove acceleration filter
Signed-off-by: Paul Gesel <[email protected]>
* remove other filter files from moveit_core
Signed-off-by: Paul Gesel <[email protected]>
* add doc string and basic clean up
* refactor getRobotState to utils and add a test
Signed-off-by: Paul Gesel <[email protected]>
* make some things const and fix comments
Signed-off-by: Paul Gesel <[email protected]>
* use joint_limts params to get robot acceleration limits
Signed-off-by: Paul Gesel <[email protected]>
* update demo config and set velocities in demos
Signed-off-by: Paul Gesel <[email protected]>
* fix acceleration calculation
Signed-off-by: Paul Gesel <[email protected]>
* apply collision_velocity_scale_ in smooth hault, add comments, and rename variables
Signed-off-by: Paul Gesel <[email protected]>
* use bounds on scaling factors in [0... 1]
Signed-off-by: Paul Gesel <[email protected]>
* remove joint_acceleration parameter
Signed-off-by: Paul Gesel <[email protected]>
* add test for jointLimitAccelerationScaling
Signed-off-by: Paul Gesel <[email protected]>
* refactor velocity and acceleration scaling into common function
Signed-off-by: Paul Gesel <[email protected]>
* general clean up, add comments, fix parameters, set timestamp in updateSlidingWindow, etc.
Signed-off-by: Paul Gesel <[email protected]>
* Update moveit_ros/moveit_servo/config/panda_simulated_config.yaml
Co-authored-by: AndyZe <[email protected]>
* Update moveit_ros/moveit_servo/src/servo.cpp
Co-authored-by: AndyZe <[email protected]>
* remove override_acceleration_scaling_factor
Signed-off-by: Paul Gesel <[email protected]>
* fix variable name
Signed-off-by: Paul Gesel <[email protected]>
* enable use_smoothing in demos
Signed-off-by: Paul Gesel <[email protected]>
* Update moveit_ros/moveit_servo/config/panda_simulated_config.yaml
Co-authored-by: AndyZe <[email protected]>
* add current state to command queue if it is empty. This is needed since the time stamp is set in the updateSlidingWindow function now.
Signed-off-by: Paul Gesel <[email protected]>
* remove acceleration smoothing
Signed-off-by: Paul Gesel <[email protected]>
* revert jointLimitVelocityScalingFactor refactor
Signed-off-by: Paul Gesel <[email protected]>
* 1) fix spelling 2) add comments 3) make sure rolling_window always has current state if no command generated 4) fix smooth hault: stop command was not generated if smoothing disabled 5) call resetSmoothing when there are no commands
Signed-off-by: Paul Gesel <[email protected]>
---------
Signed-off-by: Paul Gesel <[email protected]>
Co-authored-by: Sebastian Castro <[email protected]>
Co-authored-by: AndyZe <[email protected]>
0 commit comments