Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Hey #133

Open
GalBrandwine opened this issue Apr 14, 2019 · 3 comments
Open

Hey #133

GalBrandwine opened this issue Apr 14, 2019 · 3 comments

Comments

@GalBrandwine
Copy link

GalBrandwine commented Apr 14, 2019

Hey!
Im trying to get OpticalFlow readings (before they are passing to the EKF):

Here what in initializing in my .launch file:
<rosparam> genericLogTopics: ["log_pos" , "log_rpy" , "log_ranges" ] genericLogTopicFrequencies: [20 , 20 , 20 ] genericLogTopic_log_pos_Variables: ["stateEstimate.x", "stateEstimate.y", "stateEstimate.z"] genericLogTopic_log_rpy_Variables: ["stabilizer.roll" , "stabilizer.pitch" , "stabilizer.yaw"] genericLogTopic_log_ranges_Variables: ["range.front", "range.back", "range.up", "range.left", "range.right" , "range.zrange" ] </rosparam>]

i need the X and Y reading of the optical_flow (before kelman estimator), how can i reach them?

thank you!
Gal.

@whoenig
Copy link
Owner

whoenig commented Apr 15, 2019

There is no real documentation right now, apart from the firmware source code. Perhaps you are interested in those variables: https://github.com/bitcraze/crazyflie-firmware/blob/master/src/deck/drivers/src/flowdeck_v1v2.c#L226-L227?

@wydmynd
Copy link

wydmynd commented Apr 15, 2019

what you want is -
genericLogTopic_log_Variables: ["motion.deltaX" , "motion.deltaY" ]

@GalBrandwine
Copy link
Author

Thanks!
(haven't tryed yet, but still)

Is there more attributes to "motion" that i can log?

Gal

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

No branches or pull requests

3 participants