May I know what does the GPS fix Info means?
Is it possible to manually fix the drone’s GPS?
The gps fix is just the fact that the GPS “sees” enough satellites to know its own position.
So its not possible to manually fix it. But I can assure you that you get a gps fix when I see your video.
Is it possible of the LatLng value which is in double had to be converted to float and there might be loss of precision?
According to this post, float numbers (as they are written in the mavlink file) precision should be around 10cm.
Please note that the floating precision instead of the double one is required by the mavlink protocol.
If i convert the LatLng value from the google map to float, i will get the below values.
07-13 14:30:59.045 9388-9388/com.parrot.sdksample I/ModeSelectionActivity: Location Name: Location 1
07-13 14:30:59.045 9388-9388/com.parrot.sdksample I/ModeSelectionActivity: Location Lat double : 1.4553784132003784
07-13 14:30:59.045 9388-9388/com.parrot.sdksample I/ModeSelectionActivity: Location Lat float : 1.4553784
07-13 14:30:59.045 9388-9388/com.parrot.sdksample I/ModeSelectionActivity: Location Lng float: 103.81843
07-13 14:30:59.045 9388-9388/com.parrot.sdksample I/ModeSelectionActivity: Location Lng double : 103.81842803955078
I have successfully completed the flight plan. Thank you.
But I have some questions to clarify:
- May I know whether the yaw parameter is it the degree in which the drone turns?
- If so, must the value be in degree or radian?
- And how do I add animation using the mavlink?
- Is it possible to set speed values from different points?
1- Yaw parameter is in degrees
2- Use degrees
3- There is no animation, what do you call animations?
4- Yes it is.
ARMAVLINK_MissionItemUtils_CreateMavlinkChangeSpeedMissionItem can do that (in m/s). You have to put it before the waypoint mission item.
Hope this helps!
I mean flip animations.
Is it possible to add flip animation in between 2 points?
No you can’t.
May I know whether the groundspeed and throttle value had to be entered?
ARMavlinkMissionItem CreateMavlinkChangeSpeedMissionItem(int groundSpeed, float speed, float throttle)
generator.addMissionItem(ARMavlinkMissionItem.CreateMavlinkChangeSpeedMissionItem((float) speed)); generator.addMissionItem(ARMavlinkMissionItem.CreateMavlinkNavWaypointMissionItem((float) locationList.get(i).getLatitude(), (float) locationList.get(i).getLongtitude(), locationList.get(i).getAltitude(), lastYaw));
You can set 1 for the ground speed (indicating that you want the speed to be relative to the ground) and -1 for the throttle (indicating that you don’t want any change).
Ok. Thank you Djavan.
- Can i set the yaw value as a negative value?
- What is the max speed that the user can set?
- Yes probably.
- From 1 to 10m/s