Documentation of resources used during Drone Internship.
- DRONE DATA, ETAT DE L’ART, BOITIERS, RAPPORTS ET SUPPORTS IMPRIMES:
Google Drive partage avec Alliantech.
- PX4 DEVELOPER ENVIRONMENT
https://docs.px4.io/master/en/dev_setup/dev_env.html
⚠️ Requires: linux,github, docker.
- LOGGING:
- EXECUTABLES:
https://docs.px4.io/master/en/modules/hello_sky.html The data-logging activation file was coded in C++, and compiled into an executable via the MAVLink protocol. During operation, it simply toggles a pin (FMU Channel 6), which can then be detected by the data acquisition system in order to begin and end the logging.
- CIRCUIT SUR DRONE:
https://docs.px4.io/master/en/flight_controller/pixhawk4.html#serial-port-mapping
OPEN NSH CONSOLE.
nsh> px4_slice_disconnect
nsh> px4_slice_disconnect
sudo docker run --rm -v ${PWD}:/project/source -v ${PWD}/build:/project/build qgc-linux-docker
ulog2csv log_0_2021-8-10-04-37-02.ulg
cd ../PX4-Autopilot/
make px4_fmu-v5_default upload
cd Documents/qgroundcontrol/build/staging
./qgroundcontrol
rosbag play xr1.bag -l -a
rostopic echo -b xr1.bag -p /tf >> xr1.csv
for topic in `rostopic list -b bagfile.bag` ; do rostopic echo -p -b bagfile.bag $topic >bagfile-${topic//\//_}.csv ; done
https://roboticsbackend.com/how-to-use-a-ros-timer-in-python-to-publish-data-at-a-fixed-rate/