Can't change mode from transmitter?

Hi everyone,

I apologize in advance if this question has an obvious solution, but I'm stumped. I wired up my APM 2.5 with a Bixler 2 for the first time this morning and have been trying to learn my way around the technology on the bench. My problem is that when I throw the switch assigned to Channel 5, I can see the change register on the Flight Modes Configuration page... but the APM flight mode does not change, and remains wherever it was last set. The only way I can change it is by using the Set Mode option on the Flight Data page.

I'm using a FlySky FS T-6 transmitter and receiver and the 3DR GPS, power module, and telemetry kit. I've been testing everything via the telemetry link. The transmitter only has two-position switches, so I've assigned the Channel 5 switch to 1-3 Stabilize and 4-6 Manual. The APM is talking to APM Planner 2 just fine; the only problem seems to be with changing the flight mode.

Thank you in advance for any assistance.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I've been trying to debug this issue. The code has a complicated system of switches that enable and disable auto mode under various conditions, and the specific one I have a problem with (after fixing everything else) is called 'filt_status.flags.const_pos_mode'. That flag is set by another complicated set of switches (inside the EKF code). It looks like the intention is to ensure that there's either a GPS lock or optical flow data available, but I think there may be a bug that causes it to prevent auto mode unless there's an optical flow sensor. I've had to modify the last line of the position_ok() function in sensors.pde to

    return (filt_status.flags.horiz_pos_abs);// && !filt_status.flags.const_pos_mode);

    because I wanted to test some auto mode functions without GPS or optical flow.

  • I have the same issue here.

    My transmitter is sending the correct signals through channel 5 and they are being mapped on APM Planner (green highlighting when I change switch position) but there's no effect on flight modes on the Pixhawk.

    Any ideas?

  • Hey I'm having the equivalent issue - did you figure it out? 

    thanks

    gabriella

This reply was deleted.

Activity

DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
yesterday
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
yesterday
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Friday
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Thursday
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car https://t.co/AEu2hCx89T
Aug 28
DIY Robocars via Twitter
Aug 24
DIY Robocars via Twitter
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
More…