These are chat archives for dronekit/dronekit-android

2nd
Feb 2016
Mouli
@MouliKav
Feb 02 2016 19:29
I connected an Oscilloscope to the channel to check the frequency. I was able to change the pulse width, but the frequency remains 50Hz. Is there a solution to alter the frequency of the channel?
kalnir
@kalnir
Feb 02 2016 19:53
Is there an easy way to change GroundSpeed instead of AirSpeed using the ChangeSpeed command? I need to add a MAV_CMD_DO_CHANGE_SPEED command to a mission
Hamish Willee
@hamishwillee
Feb 02 2016 21:59
@kalnir What platform are you on? If Copter, then I believe the answer is no - since the parameter to select groundspeed/airspeed is ignored ( @rmackay9 can confirm if there are alternatives to this command, but I doubt it since AFAIK most copters do not have an airspeed sensor). On plane you can just set the first parameter to select ground/air speed.
kalnir
@kalnir
Feb 02 2016 22:02
@hamishwillee I am on Copter and yes I have no airspeed sensor which is why I need to set the groundSpeed parameter but the changeSpeed command only adds a "change airspeed" command to the mission
I know how to do this over mavlink directly but I cannot find the same command on the android API
Or is it that since the parameter for airspeed/groundspeed is ignored, it doesn't matter what that is set to?
Hamish Willee
@hamishwillee
Feb 02 2016 22:07
@kalnir Yes
kalnir
@kalnir
Feb 02 2016 22:08
Okay, that's perfect then. As long as the quad changes speed with that command I'm happy :smile: thanks!
Hamish Willee
@hamishwillee
Feb 02 2016 22:08
On copter the parameter is ignored. IN the dronekit-python docs we explicitly say "it is up to the vehicle" how the value is interpreted.
It will :-)