Monday, August 9, 2021

USMJK drone build log


10.8.2021 Download Map tiles to herelink https://docs.qgroundcontrol.com/master/en/SettingsView/OfflineMaps.html

10.8.2021 Write Mavlink 2 to TELEM2 :
Issue: Need mavlink 2 transfer.
Solved: No Need Mavlink 2 transfer notice.

SERIAL 2 / UART 2 | Connector: TELEM2

10.8.2021 Q, General, Miscellaneous.

In herelink, qgroundcontrol, changed the Map Provider to Google and Map Type to Satellite Map.

10.8.2021 QGC didnt receive fc orientation. Can arm disarm but cannot receive telemetry data. Need to restart drone if happened.

10.8.2021 Only 5 Serial Ports for pixhawk2.1. we need 5. Not including USB.

1. GPS 1 = GPS 1
2. GPS 2 = GPS 2
3. Telem 1 = Herelink telemetry 1
4. Telem 2 = Range Sensor
5. USB for debug.

Range sensor 2??

Luckily Here 3 uses CAN. New mapping.

1. Serial 3 = GPS 1 = Range sensor 1
2. Serial 4 = GPS 2 = Range sensor 2 (Altitude)
3. Serial 1 = Telem 1 = Herelink (mavlink 2)
4. Serial 2 = Telem 2 
5. USB = debugging only.
6. CAN 1 = GPS HERE3 1
7. CAN 2 = GPS HERE3 2

Serial port for pixhawk 2.1 

11.8.2021 
1 - Pixhawk did not loiter. Checked and see that problem with compass. Check in the internet and saw here2 have 2 options (CAN or I2C). To use GPS1, I2C switch need to be activated.

2 - Awkward behavior with HERELINK system. 
Run update in CATIA LAB PC no 28. Because have ADB Debugging. 
Then follow this step (https://www.youtube.com/watch?v=2rsmJAX-e4o)
System update again on the transmitter. After this will update the air unit.

3- Calibrate HERELINK

- Setup HERELINK with Pixhawk CUBE

4. Setup cube to drone 

12.8.2021

5. Setup Lidar for altitude range sensor (set Telem1/Serial 1/rngfnd?)

6. Setup lidar for obstacle sensor (working). (set GPS2/Serial 4/rngfnd2)

13.8.2021

Change pilot_thr_bhv from 0 into 7.  ---> FAIL
Change MOT_HOVER_LEARN from 2 to 2.   ---> FAIL

The problem found are

1. when MOT_HOVER_LEARN is set to 2. In which set to learn and save. So when it is bench tested, the drone collect data, when tested with propeller, it wants to shoot to sky. (https://discuss.ardupilot.org/t/does-the-final-value-of-mot-thst-hover-mean-anything/27524)

2. The Herelink is not calibrated correctly. Follow the step given, step by step to calibrate correctly.

Thats why we have problem with this for almost a week to look into it. And my superior look at it for 1 more week. Credit to faizul.

*. Setup gimbal using herelink and pixhawk.





.... Issue....

Herelink and seeker 10 not working.

Limited button to control camera gimbal

...Next...

Terrain following

Control camera gimbal using sbus

Adsb avoid

Compassmot and autotune tuning process 

Issue;



Wednesday, August 4, 2021

Pixhawk 2.1


Pixhawk 2.1

https://www.cubepilot.org/#/cube/features

https://ardupilot.org/copter/docs/common-thecube-overview.html


Dual GPS blend on Here3

https://discuss.cubepilot.org/t/here3-dual-gps-setup/5528/6
https://docs.cubepilot.org/user-guides/here-3/here-3-manual


Setup dual GPS Here3 for pixhawk cube
https://www.youtube.com/watch?v=8lFHRlp3i1o

(https://docs.cubepilot.org/user-guides/here-3/here-3-manual)

Range Finders

(https://docs.cubepilot.org/user-guides/flow-senor/here-flow)

Range finders setup overview

https://ardupilot.org/copter/docs/common-rangefinder-setup.html#common-rangefinder-setup

Setup Dual Avoidance Sensor (Height and Obstacle)

https://www.youtube.com/watch?v=nkMxCj5Gev4

- Mini Lidar with Pixhawk (https://ardupilot.org/copter/docs/common-benewake-tfmini-lidar.html)

- TFMini Plus (https://my.cytron.io/p-tfmini-plus-micro-lidar-module-uart-12m?r=1&gclid=CjwKCAjw47eFBhA9EiwAy8kzNGcPfO98Eq4qS1SyD1CP06F20hYzBvoSS6GSQX0wtz9A1gCrWbdoMhoCL-8QAvD_BwE)

- TFMini Plus Manual (https://drive.google.com/file/d/1_Oc-pdfPudNzvuujup7izugbcvi5v4YF/view)

- TFMini Plus Datasheet (https://drive.google.com/file/d/1wnT98u2tWV3hxXk4Tp7ZbPPH7hrPwW_a/view)


Herelink Controller

(https://docs.cubepilot.org/user-guides/herelink/herelink-overview)

Herelink user guide 

(https://docs.cubepilot.org/user-guides/herelink/herelink-user-guides)


First setup, bind, connection 

(https://youtu.be/s39eUckPx14)


ADSB SETUP 

(https://docs.cubepilot.org/user-guides/carrier-boards/ads-b-carrier-board)

Flash here2 to CAN 

(https://docs.cubepilot.org/user-guides/here-2/here-2-can-mode-instruction)

Youtube video : (https://youtu.be/ug6PbEI6D-s)


BENDY RULER OBJECT AVOIDANCE (for ROVER)

(https://youtu.be/Kgwkjov1YXM)