Comments (12)
Finally, I got the mistake. Yes, you are able to run the launch file but not the simulation. I mean, the drone does not take off. You see it in Gazebo, but the controller is not in the loop (see the active nodes). I think you did not follow the instructions in the right way or a step is missing.
Please, reinstall everything paying attention to respect the exact order.
from bebops.
Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!
from bebops.
Hi @chanforg! First of all, thank you for finding BebopS useful to you. As for your question, could it be a wrong copy and paste?
I mean, seeing your message a ` (at the end of the command) is missing. The message should be:
rostopic pub /gazebo/command/motor_speed mav_msgs/Actuators '{angular_velocities: [1000, 1000, 1000, 1000]}'
And, if it does not work. Please, try with the one suggested below (I reported it for your convenience)
rostopic pub /command/motor_speed mav_msgs/Actuators '{angular_velocities: [1000, 1000, 1000, 1000]}'
from bebops.
It still not work
And i checked the message type, This type of message is really missing on my computer.
from bebops.
So, as you wrote, the 'roslaunch bebop_simulator bebop_without_controller.launch' command works. So, it should not be a problem related to the mav_comm
package.
To understand what is the problem, I think it would be interesting to understand what happens when you run the 'roslaunch bebop_simulator bebop_without_controller.launch' command. In particular, when the simulation is running, in another terminal window run the rosnode info position_controller_node
and rostopic info NAME_OF_THE_TOPIC
(where the propellers angular velocities are published) and paste the screens here.
from bebops.
from bebops.
No, sorry. I think there is something wrong. Did you run the command when the launch file is running?
from bebops.
No, sorry. I think there is something wrong. Did you run the command when the launch file is running?
I am sure I have run the launch
from bebops.
And there is something that is wrong. It is very strange that, if the simulation is running, any nodes are displayed on the terminal line.
Could you copy and paste the verbose you see when running the simulation?
from bebops.
`$ roslaunch bebop_simulator bebop_without_controller.launch
`... logging to /home/ethan/.ros/log/b687e82e-5c30-11ea-9f19-98e7f44cf5fc/roslaunch-ethan-HP-Pavilion-Notebook-2877.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ethan-HP-Pavilion-Notebook:33299/
SUMMARY
========
PARAMETERS
* /robot_description: <?xml version="1....
* /rosdistro: kinetic
* /rosversion: 1.12.14
* /tf_prefix: bebop
* /use_sim_time: True
NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_robot (gazebo_ros/spawn_model)
auto-starting new master
process[master]: started with pid [2892]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to b687e82e-5c30-11ea-9f19-98e7f44cf5fc
process[rosout-1]: started with pid [2905]
started core service [/rosout]
process[gazebo-2]: started with pid [2908]
process[gazebo_gui-3]: started with pid [2912]
process[spawn_robot-4]: started with pid [2918]
SpawnModel script started
[INFO] [1583117498.606854, 0.000000]: Loading model XML from ros parameter
[INFO] [1583117498.615400, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[ INFO] [1583117499.806817224]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1583117499.810260917]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1583117499.810721513]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1583117499.812324849]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[INFO] [1583117501.945120, 0.000000]: Calling service /gazebo/spawn_urdf_model
[ INFO] [1583117502.156852611, 0.023000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1583117502.160872374, 0.027000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[INFO] [1583117502.466920, 0.195000]: Spawn status: SpawnModel: Successfully spawned entity
[ INFO] [1583117502.491282597, 0.195000000]: Physics dynamic reconfigure ready.
[ INFO] [1583117502.491902042, 0.195000000]: Physics dynamic reconfigure ready.
[spawn_robot-4] process has finished cleanly
log file: /home/ethan/.ros/log/b687e82e-5c30-11ea-9f19-98e7f44cf5fc/spawn_robot-4*.log
[ INFO] [1583117503.011917346, 0.195000000]: Camera Plugin: Using the 'robotNamespace' param: '/'
[ INFO] [1583117503.298053254, 0.195000000]: Camera Plugin (ns = /) <tf_prefix_>, set to "bebop"
from bebops.
oh! yes i reinstall it .and now it can be work!
Thank you for your patient answer,Please forgive my carelessness, I have just touched this field。:-)
from bebops.
Take it easy, it can happen. I happy to ear from you that everything is fine now. So, I can close the issue.
from bebops.
Related Issues (20)
- The rotors don't spin HOT 14
- SITL with QGC HOT 4
- Spawning Error HOT 5
- Custom Messages in Matlab HOT 2
- UAV can't move HOT 9
- topics are incomplete HOT 3
- Running {task1_world_with_bebop,task2_world_with_bebop}.launch files HOT 5
- rostopic - command to set the trajectory HOT 1
- root@7fe7b2744d5d:~/carla-ros-bridge/catkin_ws# sudo rosdep init HOT 3
- Gzserver: symbol lookup error After Launching bebop_without_controller.launch HOT 12
- bebop_autonomy with bebopS HOT 4
- gzserver:symbol lookup error: HOT 3
- Can't comple catkin_ws HOT 9
- Invalid parameter and Error with Param xml HOT 3
- [ERROR] Build fails HOT 4
- Simulator not starting HOT 3
- motor_speed or cmd_vel HOT 6
- ROS noetic and gazebo 11 HOT 18
- gzserver error: Look up (when running PX4 mavros example) HOT 3
- drone simulation to live drone flight HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bebops.