-
Notifications
You must be signed in to change notification settings - Fork 132
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
raw3 3 canopen #661
raw3 3 canopen #661
Conversation
@destogl @andreeatulbure |
27d2a62
to
e6f4214
Compare
we need to make the
but in
|
Three options:
|
@ipa-jba will post a few comments about the steps to-be-done to setup the pcan driver in #422 |
see #422 (comment) |
@ipa-jba @ipa-mdl |
The parameter handling did not fully solve the oscillation....we'll do an evaluation analogue to https://github.com/ipa320/cob_control/issues/143 |
according to @ipa-tif this is due to hitting an resonance frequency with the drive wheels working against the springs. a similar behavior has been observed on cob4 with loosely tuned elmo controllers thus, it is not an issue of next step would be to investigate to what extend the elmo controllers can be tuned |
Another issue was with emergency stop being triggered which required modifications in |
@ipa-mdl ready for final review I'll merge once I get your approvals |
|
||
<!-- start external sync node if requested --> | ||
<node ns="$(arg component_name)" pkg="canopen_chain_node" type="canopen_sync_node" name="sync_$(arg can_device)" output="screen" if="$(arg start_external_sync)"> | ||
<rosparam subst_value="True">{bus: { device: $(arg can_device) }, sync: { interval_ms: $(arg interval_ms), overflow: $(arg overflow) } }</rosparam> | ||
<param name="reset_errors_before_recover" value="$(arg reset_errors_before_recover)"/> |
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.
this does not belong here
|
||
<arg name="component_name" value="base"/> | ||
<arg name="interval_ms" value="20"/> | ||
<arg name="use_external_sync" value="false"/> | ||
<arg name="start_external_sync" value="false"/> | ||
|
||
<rosparam unless="$(arg sim)" ns="$(arg component_name)/driver" command="load" file="$(arg driver_yaml)"/> |
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.
This is the right place, I don't know why it was below beforehand.
It might break other robots with outdated configs..
<arg name="robot" value="$(arg robot)"/> | ||
<include file="$(find cob_bringup)/components/raw3_base.launch" > | ||
<arg name="robot" value="$(arg robot)" /> | ||
<arg name="can_device" value="can0" /> |
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.
can0
is the default
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.
but the argument is required...
cob_bringup/robots/raw3-5.xml
Outdated
@@ -60,6 +60,8 @@ | |||
<arg name="can_device" value="can1" /> | |||
<arg name="sim" value="$(arg sim)"/> | |||
</include> | |||
<!-- overwrite control parameters with non-default values --> | |||
<rosparam ns="base/driver" command="load" file="$(find cob_hardware_config)/robots/$(arg robot)/config/base_controller.yaml"/> |
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.
This looks wrong, controller config should go into base
namespace
steer_ctrl: # Parameters for tuning Impedance-Controller | ||
spring: 9.5 | ||
damp: 2.25 | ||
virt_mass: 0.1 |
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.
the last three could be omited, since the are same as in the default config
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.
let's keep the parameters together...
I considered @ipa-mdl's comments and tested this branch (including ros-industrial/ros_canopen#234) onc I will do a final test with @ipa-jba on |
merged the reset feature. |
this PR migrates
raw3-3
base toros_canopen
see #422
thanks @ipa-jba and @ipa-mdl for doing this!