Something wrong with set_position_target_global_int

When using mavlink’s set_position_target_global_int function, it only succeeded in setting the height, and did nothing for the latitude and longitude. What is the problem, and can you suggest a solution if you have encountered a similar problem?

Can you test Arducopter 4.6.0?
It probably works differently there.

why?what’s difference here?

The mavlink support has been improved

when i use the mission planner, the command “fly to this place" has worked. However, my own code with set_position_target_global_int didn’t work, is there any difference?