Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Issues with MicroROS demo on Renesas JP177 + Turtlebot Demo #87

Open
nirmalka94 opened this issue Aug 10, 2023 · 19 comments
Open

Issues with MicroROS demo on Renesas JP177 + Turtlebot Demo #87

nirmalka94 opened this issue Aug 10, 2023 · 19 comments

Comments

@nirmalka94
Copy link

Hi,
I am facing some issues with the turtlebot demo using Renesas JP177 board and Turtlebot demo's.
I am following the provided PDF documentation to build turtlebot3 using micro ros agent with JP177. I am constantly getting the following error. I tried on both windows and Ubuntu with FSP 3.3, 4.4 and 4.5 versions.

The following are the issues and errors i get. The issues are also mentione in detail on the Reneasa Engineering Community Issue : LINK

Screenshot 2023-08-03 230818 png-640x480

Screenshot 2023-08-03 122058 png-640x480

Screenshot from 2023-08-03 07-43-35 png-640x480
Screenshot from 2023-08-02 00-18-45 png-1182x388

@pablogs9
Copy link
Member

pablogs9 commented Aug 10, 2023

Hello @nirmalka94 it seems that your micro-ROS client library has not been built correctly.

Could you paste here your complete build log?
Please delete micro_ros_renesas2estudio_component/libmicroros/ in order to have a clean build of the micro-ROS library.

PD: I would like to understand the two images you have attached because in the first one, the compilation is successful and in the second one there is an error, what did you change between them?

@nirmalka94
Copy link
Author

Hello @nirmalka94 it seems that your micro-ROS client library has not been built correctly.

Could you paste here your complete build log?
Please delete micro_ros_renesas2estudio_component/libmicroros/ in order to have a clean build of the micro-ROS library.

PD: I would like to understand the two images you have attached because in the first one, the compilation is successful and in the second one there is an error, what did you change between them?

The second one shows build is complete and 0 errors. But in the problems tab of e2 studeo it shows 40+ errors. So I am unsure if the build was completed successfully.

@pablogs9
Copy link
Member

Some questions:

  • Are you able to flash the board?
  • Are those errors in a micro-ROS file or related to some micro-ROS header?

@nirmalka94
Copy link
Author

Some questions:

* Are you able to flash the board?

* Are those errors in a micro-ROS file or related to some micro-ROS header?

Yes, I was able to flash to the board.

image
This is the error i am getting while building. even if the build completes, the errors are shown in the e2 studio Problems tab. ( even though i got "Build Complete 0 errors " in the console.

@pablogs9
Copy link
Member

I'm not sure about the origin of those errors, it seems to be related mostly to the linker script. Do you know if there is a Github repo for the demo you are trying to run?

Yes, I was able to flash to the board.

Does the micro-ROS example work?

@nirmalka94
Copy link
Author

I'm not sure about the origin of those errors, it seems to be related mostly to the linker script. Do you know if there is a Github repo for the demo you are trying to run?

Yes, I was able to flash to the board.

Does the micro-ROS example work?

No.

@nirmalka94
Copy link
Author

After a fresh install of e2 studeo with fsp 3.3 and the demos, the first build , the following is the error log:
Console_Log.docx

and the Error Tab in e2 studio shows the following error.
Error_Tab_Log.docx

System Setup: Windows 11, e2 studio installed via FSP 3.3 ( setup_fsp_v3_3_0_e2s_v2021-07.exe)

@nirmalka94
Copy link
Author

Hello @nirmalka94 it seems that your micro-ROS client library has not been built correctly.

Could you paste here your complete build log? Please delete micro_ros_renesas2estudio_component/libmicroros/ in order to have a clean build of the micro-ROS library.

PD: I would like to understand the two images you have attached because in the first one, the compilation is successful and in the second one there is an error, what did you change between them?

the micro ros librari

Hello @nirmalka94 it seems that your micro-ROS client library has not been built correctly.

Could you paste here your complete build log? Please delete micro_ros_renesas2estudio_component/libmicroros/ in order to have a clean build of the micro-ROS library.

PD: I would like to understand the two images you have attached because in the first one, the compilation is successful and in the second one there is an error, what did you change between them?

Actually, after building / failed builds the libmicros folder is not being created.

The changes that were made are:

  • copied the microros library from renesas ra micro ros demo applications( after building the USB demo's from this repo)

@pablogs9
Copy link
Member

pablogs9 commented Aug 10, 2023

Some details:

  1. After adding the micro-ROS for Renesas estudio component folder to your project are you following the integration instructions? Because in your logs I do not see any log mentioning the micro-ROS library build from the builder script.

  2. This package is not supported in Windows. How are you installing rsync or colcon-common-extensions in your Windows platform?

image

  1. This package is only compatible with the Linux version of FSP 4.4.0 as stated in the documentation, do not try with older FPS versions because APIs may have changed.

image

@nirmalka94
Copy link
Author

Some details:

1. After adding the micro-ROS for Renesas estudio component folder to your project are you [following the integration instructions](https:/micro-ROS/micro_ros_renesas2estudio_component#integrating-micro-ros-in-your-project)? Because in your logs I do not see any log mentioning the micro-ROS library build from the [builder script](https:/micro-ROS/micro_ros_renesas2estudio_component/blob/iron/library_generation/library_generation.sh).

2. **This package is not supported in Windows**. How are you installing `rsync` or `colcon-common-extensions` in your Windows platform?

image

3. This package is only compatible with the Linux version of FSP 4.4.0 as stated in the documentation, do not try with older FPS versions because APIs may have changed.

image

The documentation provided is a bit confusing.
image

This is a screenshot from the documentation for JP177 ROS-based Robot Body Controller provided by Renesas

@pablogs9
Copy link
Member

I'm not sure about which is this project nor how they have built the micro-ROS support for Windows. Probably using another solution than this repo. Could you provide a link to this project?

@nirmalka94
Copy link
Author

I'm not sure about which is this project nor how they have built the micro-ROS support for Windows. Probably using another solution than this repo. Could you provide a link to this project?

I am using a code provided by renesas for controlling a turtlebot3 using their JP177 board. I am unsure about sharing of the code as I am yet to get the confirmation about sharing it publicly. I have contacted the concerned person and I will update as i get a response.

@nirmalka94
Copy link
Author

I am facing another issues with the intgration of micro-ros to my project as instructed at : LINK.

I am unable to find the options mentioned in the instructions such as adding a new stack with FreeRTOS Heap 4( to add FreeRTOS ) . I can see only FreeRTOS Heap 1,2,3 and 5 and Not 4.
My project was built on FSP 3.3 ( I am getting the following error if i load it with FSP 4.4) :
FSP version 3.3 not found..

But if I use FSP 3.3, most of the optioons and menu options mentioned in the micro-ros documentation is not visible in e2 studeo.

@pablogs9
Copy link
Member

Any of the other heaps shall work as expected.

@nirmalka94
Copy link
Author

Any of the other heaps shall work as expected.

Which means i can use any other heal instead of heap 4?

@pablogs9
Copy link
Member

That means that the recommended and tested one is heap 4, but as explained in the FreeRTOS documentation there is no API difference between them, so theoretically all of them shall accomplish the micro-ROS needs

@nirmalka94
Copy link
Author

@pablogs9 ,
These are the errors i get when i try to build.
Screenshot from 2023-08-14 12-55-01

@pablogs9
Copy link
Member

As far as I see those errors are not related to micro-ROS but to the project you are trying to build.

@nirmalka94
Copy link
Author

Hi, has anyone worked on the JP177 ROS-based robot body controller Turtlebot demo ?

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

No branches or pull requests

2 participants