-
Notifications
You must be signed in to change notification settings - Fork 68
ROS parameters into a dictionary #605
-
How does the following part work in
.
|
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 3 replies
-
Yeah this is a bit hacky since technically we shouldn't be able to access these (but python doesn't have notion of private variables). Turning it into dictionaries is just an easier way for the cflib backend to work with them, but that is to retrieve all the yaml file values as well like crazyflie parameters and such. About your questions, You can watch all of these parameters + values in RQT if you'd like? or print it out in this function? or is that not what you mean? |
Beta Was this translation helpful? Give feedback.
All reactions
-
I'll check them all out in rqt, thanks. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I just checked them out, I think
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes indeed, that seems to be all of them. So there are 2 parts of the parameters:
It doesn't have to get all the params from the TOC. If you keep this variable on False, it should only set the Crazyflie params that are initialized in the crazyflies.yaml, as it might be a bit much. crazyswarm2/crazyflie/config/server.yaml Line 14 in b896e6d
|
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Yeah this is a bit hacky since technically we shouldn't be able to access these (but python doesn't have notion of private variables). Turning it into dictionaries is just an easier way for the cflib backend to work with them, but that is to retrieve all the yaml file values as well like crazyflie parameters and such.
About your questions, You can watch all of these parameters + values in RQT if you'd like? or print it out in this function? or is that not what you mean?