Skip to content
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

Turn off the enable_relocation on T265 #2826

Open
Robinyyds opened this issue Jul 27, 2023 · 0 comments
Open

Turn off the enable_relocation on T265 #2826

Robinyyds opened this issue Jul 27, 2023 · 0 comments

Comments

@Robinyyds
Copy link

When I use T265 on my UAV, I found it will have a upheaval at the starting point.So I want to stop the enable_relocation to avoid this terrible thing.But when I start the t265(use rs_t265.launch) and want to change the enable_relocation by dynamic_reconfigure.I found the /camera/tracking_module and it have the param of enable_relocation.But when I want to set it ,it will give the " Exception thrown while processing service call: Option is read-only while streaming" and

(rosrun dynamic_reconfigure dynparam set /camera/tracking_module "{'enable_relocalization':False}")
"File "/opt/ros/noetic/lib/python3/dist-packages/dynamic_reconfigure/client.py", line 222, in update_configuration
msg = self._set_service(config).config
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 442, in call
return self.call(*args, **kwds)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 523, in call
responses = transport.receive_once()
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 742, in receive_once
p.read_messages(b, msg_queue, sock)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 360, in read_messages
self._read_ok_byte(b, sock)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 343, in _read_ok_byte
raise ServiceException("service [%s] responded with an error: %s"%(self.resolved_name, str))
rospy.service.ServiceException: service [/camera/tracking_module/set_parameters] responded with an error: b'Option is read-only while streaming'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/ros/noetic/lib/dynamic_reconfigure/dynparam", line 238, in
elif cmd == 'set': do_set()
File "/opt/ros/noetic/lib/dynamic_reconfigure/dynparam", line 122, in do_set
set_params(node, values_dict, timeout=options.timeout)
File "/opt/ros/noetic/lib/dynamic_reconfigure/dynparam", line 203, in set_params
client.update_configuration(params)
File "/opt/ros/noetic/lib/python3/dist-packages/dynamic_reconfigure/client.py", line 224, in update_configuration
raise DynamicReconfigureCallbackException('service call failed')
dynamic_reconfigure.DynamicReconfigureCallbackException: service call failed"

it seems that this param cannot be set by person.I want to check it, and really want to turn it off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant