I can send waypoints to my rover, however when I switch to auto mode it doesnt seem to follow the waypoints. It seems to keep going around in circles drive straight for 1sec and make more circles. Am I supposed to set any special parameters before I follow waypoints? Any help would be appreciated.
Regarding the current ArduPilotOne (Rover) code that is up. I'm able to compile and upload to the APM2 but I guessing I need more to be able to get the MAP/HUD working in Mission Planner. Am I correct? Do you happen to have something put together that may guide me in the right direction?
I'm able to compile the 2.28 version of the Plane code and get it to work in the mission planner but not the rover code. I have an E-Maxx the is itching to have the APM2 installed. Once finished I'm going to get another one for my Heli or Plane.
Just in case any of my postings about your EKF sounded critical, that was not my intent. I am very excited and pleased about your work.
I think that, with enough processing power, EKF is the best way to go. But you may have to separately address some issues that EKF might not automatically solve. I am willing to help you with that, if you want some help, I have put a lot of thought into it during the development of DCM.
I am running your pymavlink HILS with px4. The hils works great in manual and seatbelt mode but nose dives continuously (with its wings level) in AUTO mode.
Lorentz Meier suggested that it might be due to the fact that airspeed scaling is wrong, and the aircraft is diving to gain the airspeed. Indeed, the logs show that the airspeed is almost always very close to zero.
It might be due to:
1. Error in unit conversion: Pascal to millibar from jsbsim to px4
or, and i think this is it:
2. Since the aircraft is air launched with initial airspeed, if PX4 calibrates its airspeed sensor after the launch, it'd calculate it's airspeed scalar such that the non zero initial airspeed is scaled to zero. Thus, it'd remain zero the whole while in flight.
I had this 2nd issue when i wrote a pymavlink based hils for APM, so i'd always have to start on ground, with no speed, calibrate airspeed sensors, and then take flight. It might be a similar issue here.
The problem with the other fixedwing autopilot is probably that I don't have the airspeed hooked up correctly as you suggest. The backside autopilot is using ground speed. It is probably a unit error and if you can spot it feel free to submit a pull request here: https://github.com/PX4/HIL
No comments yet!
You need to be a member of DIY Drones to add comments!