-
Notifications
You must be signed in to change notification settings - Fork 173
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
Issues when building and running an example #27
Comments
@ArkadiuszNiemiec you have a full guide here explaining how to setup the environment. You also have build scripts here that do all the above job for you. Please do follow the guide or use the scripts and come back if you are not successful. |
As I said: |
Try using the |
I have prepared a Dockerfile to test
At the end I am launching a screenrc file that has three sessions: first launches a
so I changed the script to manually building the
OR
|
The problem you report in 3. is known and is going tl be solved soon (it has to do with the major reestructure that happened on the repo). |
And the problem no 1 is the problem with using a script in Dockerfile. The '$ROS_WS_DIR' is So the only problem is that |
The only problem there is that you are not using the script correctly. It should be |
Solution coming soon. |
Ok, thanks. I will debug the software myself so I can contribute in the future. |
@ArkadiuszNiemiec the related issue is #14 and it got fixed now. Closing this as solved. |
@TSC21 yes, this fixes my problems. Thanks. |
I am trying to run
px4_ros_com
onUbuntu 18.04
but have some problems. Can you tell me what's wrong? This is what I did:export FASTRTPSGEN_DIR=/home/aniemiec/eProsima_FastRTPS-1.7.1-Linux/bin
to~/.bashrc
and restarted the sessionROS2 Crystal
by following Building ROS 2 on Linuxpx4_msgs
to ~/ros2_ws/src/px4_ros_com
to ~/ros2_ws/src/genmsg
by executingsudo apt install ros-melodic-genmsg
ros
by executingsource /opt/ros/melodic/setup.bash
ros2_ws
by executingsource ~/ros2_ws/install/local_setup.bash
ros2_ws
by executingcolcon build --symlink-install
ros2_ws
by executingsource ~/ros2_ws/install/local_setup.bash
cd ~/src/Firmware/; make px4_sitl_rtps gazebo
micrortps_client start -t UDP
inside aNuttShell
micrortps_agent -t UDP
in first terminal.To test my setup I opened a third terminal, sourced
ros2_ws
and listed topics. This genertated an error:Sourcing ros2_ws by
source ~/ros2_ws/install/setup.bash
generates this message:This sourcing allows me to run
ros2 topic list
but I got this error when I echo any topic:I have also tested scripts and followed instructions in PX4 docks but ended up with same results.
The text was updated successfully, but these errors were encountered: