Closed vinhk closed 7 years ago
if there is some other ways to send movements commands to the drone? Any help is appreciated. @vooon @TSC21
I'm not looking to always initializing 'seconds_since_start'. It is there to check when x,y pose commands are sent.
Taking a look at your logs, your LOCAL.POSITION.Z doesn't leave 1 meter. Do you get a position lock in your drone? Also, in the mavros terminal, do you get the current_state as OFFBOARD? Without a log from the terminal also there's no way to figure out what is happening in the mavros<->bridge.
For position lock I am unable to get to to work as shown when I have it in position control mode. The quadcopter drifted when in position hold mode. That can be an issue when using position set points in ros I guess.
In terminal yes, at round 15 seconds it switch to offboard mode.
No. Position lock is having the solid green on your pixhawk. Means that the FCU can compute its position.
That can be an issue when using position set points in ros I guess.
Position setpoints in offboard mode nothing have to do position hold mode.
I think you must push this issue to PX4 Firmware repo, as this does not seem to be MAVROS related. Closing this.
Also, try posting this on gitter. Add a log to it
Dear all,
I am working on ROS code for making my quadcopter takeoff and do basic movements such as forward, back, left, right. I am unable to make it do so at this point using PX4Flow. The drone keeps going up when I send the x and y values. I based my code from https://dev.px4.io/ros-mavros-offboard.html documentation. Therefore, I added more lines to work on getting it to move. Here is my code:
Here is my log data: http://logs.uaventure.com/view/E3EGxVJBSATSjzjVN3KYGZ