MikeMakes / bebop

A compilation of differents ros packages useful for controlling and simulating a Bebop drone.
GNU General Public License v3.0
1 stars 0 forks source link

sacar datos sphinx ground truth #16

Closed MikeMakes closed 3 years ago

MikeMakes commented 3 years ago

Ah, para sacar datos de Sphinx por si queremos comunicarlos con algo de ros que no corra en esa version modificada de gazebo tenemos:

Originally posted by @MikeMakes in https://github.com/MikeMakes/bebop/issues/9#issuecomment-753339994

MikeMakes commented 3 years ago

Hay que testear que la solución del primer link tire:

ocrave Parrot Feb '19 Hi, Telemetry data is logged via telemetryd, a process that runs in the background when sphinx gets started. You can query its data with tlm-data-logger: tlm-data-logger inet:127.0.0.1:9060 | grep niscient_bebop2.worldPosition.x I guess you can redirect this data into a rostopic with a piped input: tlm-data-logger inet:127.0.0.1:9060 | awk -F"[ ',]+" '/omniscient_bebop2.worldPosition.x:/{print $2}' | rostopic pub std_msgs/Float32