PX4 / PX4-Devguide

PX4 Devguide GitBook
http://dev.px4.io
Other
196 stars 481 forks source link

running offb_node.cpp #1120

Closed Iko-Git closed 3 years ago

Iko-Git commented 3 years ago

Hello, Could you please guide me how to run offb_node.cpp ..... Please take it into consideration that I installed PX4 using following the below instructions: Download PX4 Source Code: -git clone https://github.com/PX4/PX4-Autopilot.git --recursive Run the ubuntu.sh with no arguments (in a bash shell) to install everything: -bash ./Tools/setup/ubuntu.sh

RicardoM17 commented 3 years ago

Hi @Iko-Git have you looked into https://dev.px4.io/master/en/ros/mavros_offboard.html ?

In a nutshell you need to add the file to your ROS package, build it, then launch a gazebo simulation, launch mavros via roslaunch (check the page after the one I sent) and then run the offbnode via rosrun.

hamishwillee commented 3 years ago

@Iko-Git Best place to ask support questions is https://discuss.px4.io/ . This area is where you post questions about specific issues with the documentation. I am therefore closing.

Iko-Git commented 3 years ago

Thanks got solved! @hamishwillee @RicardoM17

RicardoM17 commented 3 years ago

Glad to hear it @Iko-Git

Best of luck and have fun developing :)