Coder Social home page Coder Social logo

Comments (8)

Fatimah-Alahmed avatar Fatimah-Alahmed commented on June 19, 2024 1

Screen Shot 1443-05-16 at 6 58 03 PM

from hector-quadrotor-noetic.

Fatimah-Alahmed avatar Fatimah-Alahmed commented on June 19, 2024 1

I have tried to add a file(Quadrotor_plugins.gazebo.xacro), the result is that now gazebo opens with the drone. but when I try to operate it using( rosrun teleop_twist_keyboard teleop_twist_keyboard.py )
it is not running.
However, there is an error when using (roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch)
Screen Shot 1443-05-16 at 7 13 02 PM

from hector-quadrotor-noetic.

Fatimah-Alahmed avatar Fatimah-Alahmed commented on June 19, 2024

I had the same problem when I run roslaunch, so I have changed command in the tag to default, this solved the problem. Then, I tried changing to default to textfile However, I encounter another problem which says that it can not find the file and also give me traceback for files in the opt/ros/noetic/lib/python3/dist-packages/ (some python files). Do you know what is the problem?

The first error before changing the command:
redefining global symbol: pi
when processing file: /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_base.urdf.xacro
included from: /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor.urdf.xacro
included from: /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor.gazebo.xacro
No such file or directory: /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_gazebo/urdf/quadrotor_plugins.gazebo.xacro [Errno 2] No such file or directory: '/home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_gazebo/urdf/quadrotor_plugins.gazebo.xacro'
when processing file: /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor.gazebo.xacro
RLException: while processing /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_gazebo/launch/spawn_quadrotor.launch:
Invalid tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '/home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor.gazebo.xacro', 'base_link_frame:=/base_link', 'world_frame:=world']] returned with code [2].

Param xml is
The traceback for the exception was written to the log file

The error after changing command to default:

.. logging to /home/parallels/.ros/log/414eeecc-5620-11ec-9974-33e66f355017/roslaunch-ubuntu-linux-20-04-desktop-78810.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: while processing /home/parallels/catkin_ws/src/hector_quadrotor_noetic/hector_quadrotor/hector_quadrotor_gazebo/launch/spawn_quadrotor.launch:

tag must have one and only one of value/textfile/binfile. The traceback for the exception was written to the log file

from hector-quadrotor-noetic.

Fatimah-Alahmed avatar Fatimah-Alahmed commented on June 19, 2024

roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch
or even
roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch

from hector-quadrotor-noetic.

RAFALAMAO avatar RAFALAMAO commented on June 19, 2024

Sorry, but I don't know why it¿s happening :/, may be, just may be... the workspace folder name, mine is "catking_ws".

Here is a video of demonstration:

https://www.youtube.com/watch?v=-2IWfZjqoNc

from hector-quadrotor-noetic.

RAFALAMAO avatar RAFALAMAO commented on June 19, 2024

May you attach a Image with console error, please?

from hector-quadrotor-noetic.

RAFALAMAO avatar RAFALAMAO commented on June 19, 2024

Where did you clone and compile de package, "path"?

from hector-quadrotor-noetic.

Juann-SPS avatar Juann-SPS commented on June 19, 2024

I have the same error thats happening in the first image, do you have any idea of what could be making such an error or how it could be trespassed/solved?

from hector-quadrotor-noetic.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.