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 building with Nuttx + Olimex-stm32-e407 #138
Comments
Hello, try to continue with the tutorial. These rosdep errors can be taken as warning for now. Please check if you micro-ROS workspace builds correctly. We are working on fixing them. |
yes its build correctly for the linux example and worked properly. But when creating this for stm32f4 nuttx rtos this rosdep dependency error is coming and can't flash to Development board |
Could you please copy here the error you are having? |
the same error as mentioned above |
This error seems to be in the micro-ROS Agent installation. Are you running |
ros2 run micro_ros_setup create_firmware_ws.sh nuttx olimex-stm32-e407 |
can you continue with the configuration step ignoring this dependencies errors? |
is it going to work like that? without first creating firmware? |
do you have a |
no just firmware folder |
when i have created firmware for the host machine then the firmware folder containing dev_ws |
Well, on this docker I have done:
And I obtain:
Could you please replicate these steps in a clean ROS 2 Dashing environment? |
ok with clean ROS2 error microxrcedds_agent is gone now but configuring with |
try with |
with pingpong-eth configuration the same error
with drive_base configuration
|
I'm not sure if the RCLC layer is working currently on dashing. Could you create a file named |
We are fixing all these issues on foxy release, it would be released in a week hopefully |
in crystal also i am getting dependency issues and so is there any working version of micro-ROS present now so i can try it. |
please target ROS 2 dashing installation in order to use micro-ROS |
yes i have done that before with ROS 2 dashing and just trying with crystal checking if it is working or not. can i manually configure the nuttx for dashing and flash the micro-ROS to development board? |
can i use "freeRTPS" or "Embedded_nuttx" or "riot_ROS2" to use on development board and ROS2 on linux to communicate ? |
@pablogs9 please tell the solution as soon as possible, as i was struggling to make it work from past few days. |
Well, on this docker I have done:
|
Hi Pablo, instead opening a new issue I will post my log here since it appears a similar issue: $ ros2 run micro_ros_setup create_firmware_ws.sh nuttx olimex-stm32-e407
alan@dev: |
Are you using Ubuntu 18.04? |
@pablogs9 do we have an stable update for ROS2 foxy released? |
not yet, the stable version is dashing until next week or so. |
i have downloaded this docker and yet end up with errors, not able to create firmware in dashing |
Hi Pablo, |
Hi @pablogs9 in fact the issue appears related to Ubuntu 20.04 and CMake version. Also there are tons of warning messages during the compilation. I submitted a patch to rmw_microxrcedds_c fixing some of these warnings. My complete compilation log is here: |
Let us check this. We are not in 20.04 yet. |
@jayanthendo @acassis Hi! Thank you for your interest in micro-ROS. Notice that we’ll discuss the recent contributions and developments in the next Embedded WG meeting. You’re invited to bring your micro-ROS related issue to this platform. We’ll be very happy to have you join us and discuss your questions with the community. |
Thank you @pablogs9 i think this issue is in my local configuration as it was working on other system. |
Hi, @jayanthendo and @acassis have you solved these issues? I also got similar errors. I am using Dashing to bulid micro_ROS, it appers error as @jayanthendo showed. |
@zivy90 i still don't know why this error's are coming on my system. i am using lenovo with ubuntu 18 but i have tested on dell system with same ubuntu and its working with same libraries as mine. |
We are merging the new Ubuntu 20.04 + micro-ROS Foxy tutorials in this PR: micro-ROS/micro-ROS.github.io#187 I would suggest that you try the new tutorials + Foxy release when they are merged. Sorry for the inconvenience. |
Hello again! Please check this new tutorial for micro-ROS Foxy + Ubuntu 20.04 + Nuttx + Olimex: https://micro-ros.github.io/docs/tutorials/core/first_application_rtos/nuttx/ I would also suggest you use a docker container using ros:foxy image. |
@jayanthendo, @pablogs9 Thanks for the reply, I am going to try docker container. Thanks again for the help! |
Hi, @pablogs9, one more question, I am using host to bulid micro-ros on Foxy branch, but after
run
Do you have any idea? Thank you! PS: I cannot use docker container, since there are some network issues, i.e., some sources cannot be accessed in Chain and I failed to let container use VPN. Update (26/07):
Update (27/07): |
@zivy90 which system are you using? |
@jamoralp I am using Ubuntu 20.04, my computer is Dell XPS. It is weird, I used Ubuntu 18.04 before, and showed these errors, while I upgraded the system to 20.04, same errors showed again. |
i am using lenovo, its weird it's working on some system's and but not on other systems |
Hello! I am trying to run an example on the Olimex-stm32-e407 by following the micro-ROS application tutorial for RTOS and getting some errors while building.
i am doing on ubuntu 18
setup is Dashing Diademata and crystal also
when creating the framework with the following command
ros2 run micro_ros_setup create_firmware_ws.sh nuttx
the following error appears
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
micro_ros_agent: Cannot locate rosdep definition for [microxrcedds_agent]
i have installed the following package
ros-crystal-micro-xrce-dds-agent
ros-crystal-microxrcedds-agent-cmake-module
ros-crystal-microxrcedds-agent
and installed Micro-XRCE-DDS-Agent using https://micro-xrce-dds.docs.eprosima.com/en/latest/installation.html
but still i am getting the same error
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
micro_ros_agent: Cannot locate rosdep definition for [microxrcedds_agent]
is there any package i am missing? or any other steps to follow?
Thank you very much.
Jayanth kandregula
The text was updated successfully, but these errors were encountered: