Open gitdillo opened 4 years ago
Same issue
rosservice call /mavros/cmd/set_home "{current_gps: false, yaw: 0.0, latitude: 13.589722, longitude: 80.003377, altitude: 8.0}" success: False result: 1
Without FCU: foo bar
log lines i can only try fortune telling on coffee grounds.
I am facing the same issue. Can anyone please guide me how to solve the issue
I have the same problem. How did you solve ?
I am trying to set home using a simulated Arducopter but I can not get it to work. I have tried the service as well as the mavcmd utility and both fail.
This is the result of calling the set_home service (note that I am using the /Klotho/mavros namespace):
When trying the same but with "current_gps: true", it works but it is useless since I want to set my own coordinates, not use the current GPS ones:
I get the same results when trying with the utility command:
The MAVLINK response in both cases is 4, which I think refers to the MAV_RESULT_FAILED mavlink message.
The mavros logs mentioned in the response are not particularly helpful, here is the output from the latest file in the ~/.ros/log directory:
MAVROS version and platform
Mavros: Don't know how to get version, installed July 2020. ROS: noetic Ubuntu: 20.04
Autopilot type and version
ArduPilot in SITL Version: ArduCopter V4.1.0-dev (98feb061)