-
Notifications
You must be signed in to change notification settings - Fork 173
Change fake_sensor_commands->mock_sensor_commands #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: humble
Are you sure you want to change the base?
Change fake_sensor_commands->mock_sensor_commands #260
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your input.
To my knowledge, fake_sensor_commands
should still be working for the mock_components/generic_system
.
I don't know about MoveitPro, but with the moveit2 support package from the driver repo everything works fine. As noted in the comments, I would advocate against changing the public-facing parameter name inside Humble. We have renamed it to mock_...
from Jazzy on.
<xacro:macro name="ur_ros2_control" params=" | ||
name | ||
use_fake_hardware:=false fake_sensor_commands:=false | ||
use_fake_hardware:=false mock_sensor_commands:=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather not change the public-facing parameters inside a running distribution.
<xacro:if value="${use_fake_hardware}"> | ||
<plugin>mock_components/GenericSystem</plugin> | ||
<param name="fake_sensor_commands">${fake_sensor_commands}</param> | ||
<param name="mock_sensor_commands">${mock_sensor_commands}</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's definitively a change we can make. Though mock_components/generic_system
should only throw a deprecation warning on this.
<!-- Simulation parameters --> | ||
<xacro:arg name="use_fake_hardware" default="false" /> | ||
<xacro:arg name="fake_sensor_commands" default="false" /> | ||
<xacro:arg name="mock_sensor_commands" default="false" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public facing, so let's netter not change it.
safety_k_position:=20 | ||
use_fake_hardware:=false | ||
fake_sensor_commands:=false | ||
mock_sensor_commands:=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public facing, so let's netter not change it.
Hello,
we found this in the ros2_control xacro breaks on newer humble snapshots in MoveIt Pro as the parameter name got changed. Has this been UR's experience as well? I think this fix only applies to humble, but let me know if we need to put this in a different upstream.
Thanks,
Shaur