-
Notifications
You must be signed in to change notification settings - Fork 86
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
Question: how to change fieldset #394
Comments
Thank you for your feedback. Use SOPAS ET to configure the fields and fieldset. We will take a closer look at the LIDinputstate telegrams. |
Thanks for more information. The sick_scan_xd driver currently supports only the default fieldset selection mode, i.e. setting the active fieldset via digital inputs (FieldSetSelectionMethod=0). LIDinputstate telegrams are received by sick_scan_xd to monitor and update the active fieldset, but they are currently not published. The next release will improve the field evaluation for TiM7xx and TiM7xxS lidars:
The next release is scheduled for publication within this month. |
Thanks for your reply. The upcoming release 3.6 will add two ros services to read and write the FieldSetSelectionMethod and ActiveFieldSet options. Please use the new services to read or change the fieldset configuration. Example call for ROS1:
Example call for ROS2:
Parameter summary:
Initial values for field_set_selection_method and active_field_set can be configured in the launch file, e.g.:
These options will be supported in the next sick_scan_xd release 3.6. |
Hello and thank you for your reply. This should solve my problem, I would be willing to beta test the feature for you as well if you need any help. |
In version 3.6.0, this seems to be working for me correctly. However it only works if I put the "-1" for the fieldset selection method. If I put "1" in the fieldset selection method it throws the same error as before "14 byte message ignored" |
Thanks for your feedback. Configuring the FieldSetSelectionMethod requires leaving and restarting the operation mode. We have added the corresponding SOPAS telegrams in the ros service. Please use the update in branch feature/issue_update_2412xx and rebuild. |
This feature is working for me on that branch you specified, but I will keep the issue open until it is merged into the next version, perhaps 3.6.1? |
@rostest Thank you for this as I was looking for this feature too, works good. Is it possible to add a topic to see the Field state detection which is currently function of Digital output's ? |
@anath93 Thank you for your feedback. You can subscribe to the LIDoutputstate messages to get the state of the digital outputs. LIDoutputstate messages are published in topic |
Hello, I am using ROS 1 Noetic, Ubuntu 20 and SIck Tim 781, I am wondering how to change the fieldset.
It looks like in RVIZ it defaults to 1
However when i didn't see explicit instructions on what to send in order to change the fieldset. After digging around it seems like maybe with the ColaMsg service request it may be possible. But looking calling the service with this:
rosservice call /sick_tim_7xx/ColaMsg "{request: 'sRA LIDinputstate 2'}"
However I get an error saying there is a mismatch:
The text was updated successfully, but these errors were encountered: