You need to be a member of diydrones to add comments!
This reply was deleted.
Activity
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
Our next Virtual Race will be on June 4th:
https://www.meetup.com/DIYRobocars/events/285787423?utm_medium=referral&utm_campaign=share-btn_savedevents_share_modal&utm_source=link
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
Replies
Yes, I am using the Arducopter software. Thanks a lot for helping me out.
Rai
I played around with the UART_Test example under AP_HAL/examples to figure out which UART went with which serial port. I had better luck with serial 4 than with 5. For your case, I would use the 10 or 50 Hz loop in the usercode.pde file to check if the waypoint had been reached (I'm not sure how to do this, I've never flown in auto mode), and then do a print statement with your command. If you use serial 4, there are a couple of lines you need to comment out elsewhere (so the Pixhawk doesn't look for a second GPS). They are:
The user loops and header file were uncommented in the APM_Config.h file.
* Other changes (disable 2nd GPS to allow serial port 4 to be used for data):
* HAL_PX4_Class.cpp : lines 292-301 commented out, baud rates changed in line 125
* AP_GPS.cpp : lines 76-80 and 107-119 commented out, ternary operator removed on 131
* GCS_Serial_control.cpp : lines 58-61 commented out
* SITL_State.cpp : line 654 commented out
* system.pde : lines 106-110 commented out
Hey Rai!
Are you using Arducopter software or the PX4 flight stack? I can help if it is Arducopter as I have interfaced with the Pixhawk over a serial connection.
-Nathanial