Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yawing not working #2

Closed
nishathussain opened this issue Nov 15, 2016 · 4 comments
Closed

Yawing not working #2

nishathussain opened this issue Nov 15, 2016 · 4 comments

Comments

@nishathussain
Copy link

apart from ROS_quadrotor_simullator which other packages are required ? do we need rotors_simulator (which branch) too and SITL ROS gazebo.

I compiled with 'wilselby/rotors_simulator'. It works but unable to control yaw of the quad.

Can we use it with arducopter SITL??

@wilselby
Copy link
Owner

The exact dependencies will depend on which launch file you are trying to use. I will start with just the requirements for basic joystick control. For more details, please see my tutorial here:
https://www.wilselby.com/research/ros-integration/development-environment-setup/

I used this script to get my initial ROS install setup:
https://github.com/AurelienRoy/ardupilot_sitl_ros_tutorial/blob/master/scripts/step_4_install_ros.sh

Specifically, it installs the following packages. See the script for more install details.
sudo apt-get -y install [package] with the following packages:
ros-indigo-desktop-full
python-rosinstall
ros-indigo-octomap-msgs
ros-indigo-joy
ros-indigo-geodesy
ros-indigo-octomap-ros
unzip
drcsim
ros-indigo-mavros
ros-indigo-mavros-extras

The next script installs some more repositories (https://github.com/AurelienRoy/ardupilot_sitl_ros_tutorial/blob/master/scripts/step_5_create_ros_workspace.sh)
git clone https://alexbuyval@bitbucket.org/alexbuyval/arducopter_sitl_ros.git
git clone https://github.com/PX4/mav_comm.git

I also installed the jstest-gtk package to use the Xbox controller input.

I also installed the master branch of the RotorS simulator:
https://github.com/ethz-asl/rotors_simulator

I never attempted to integrate the Arducopter SITL with this code base.

Hope this helps. Would be interested in knowing which launch file you used and if you are able to see yaw commands coming from your input device to the attitude control nodes.

@nishathussain
Copy link
Author

Thanks Wil,
I am now able to do yaw.. As I was using Gazebo 6.6 ver [solution].

@nishathussain
Copy link
Author

Please share tutorials links for Octomap and moveit planning if you have any.
Thanks
Nishat

@wilselby
Copy link
Owner

Nishat,

This page covers 3D perception and path planning to include some Octomap and MoveIt guides

https://www.wilselby.com/research/ros-integration/3d-mapping-navigation/

-Wil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants