poine / rosmip

ROS Mobile Inverted Pendulum
GNU General Public License v3.0
10 stars 2 forks source link

Qs - How to install only the simulator part #2

Open jcorredorc opened 5 years ago

jcorredorc commented 5 years ago

Hi, I have a MIP that it is working via ROS with a BeagleBone BLue (BBBL). I want to install just the simulation part of your packages, but I get an error related with the Robotics Cape Library (rosmip_control). I was wondering if it is necessary install this library in the PC (not in the BBBL, cause its already installed) in order to compile the simulation part.

I'll appreciate your commentaries. Thanks

poine commented 5 years ago

Hi

Yes, you need the robotic cape library even for running the simulator. you can clone this: https://github.com/StrawsonDesign/librobotcontrol and use the install.sh script, selecting option 2

Regards

Poine

On Tue, Mar 19, 2019 at 4:49 PM jcorredorc notifications@github.com wrote:

Hi, I have a MIP that it is working via ROS with a BeagleBone BLue (BBBL). I want to install just the simulation part of your packages, but I get an error related with the Robotics Cape Library (rosmip_control). I was wondering if it is necessary install this library in the PC (not in the BBBL, cause its already installed) in order to compile the simulation part.

I'll appreciate your commentaries. Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/poine/rosmip/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGTz3-1Z9V0kQYOgxrsTZpFyJxaTqpyks5vYQcGgaJpZM4b8fAm .

jcorredorc commented 5 years ago

thanks for your help, I'm going to check it.

jcorredorc commented 5 years ago

Hi, Unfortunately when I try to install it, get this error

src/io/gpio.c:21:24: fatal error: linux/gpio.h: There is no file or directory compilation terminated

I try to check this file in /usr/include/linux/gpio.h but no idea how to proceed.

Appreciate any advice.

poine commented 5 years ago

Make sure you have your kernel headers package installed ( and the /usr/src/linux symlink)

On Wed, Mar 20, 2019, 12:27 AM jcorredorc notifications@github.com wrote:

Hi, Unfortunately when I try to install it, get this error

src/io/gpio.c:21:24: fatal error: linux/gpio.h: There is no file or directory compilation terminated

I try to check this file in /usr/include/linux/gpio.h but no idea how to proceed.

Appreciate any advice.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/poine/rosmip/issues/2#issuecomment-474623370, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGTz69lh0rQpYaG4PznxEpEEbLPA8MJks5vYXJXgaJpZM4b8fAm .

Mecb1407 commented 5 years ago

Ok thanks yes we have a problem with kernel headers, cause we made some symlinks but get other errors (I made symlink to bug.h and ok, but get other error I don't know which is the right one for the last error)

In file included from /usr/include/linux/gpio.h:94:0, from src/io/gpio.c:21: /usr/include/linux/bug.h:5:21: fatal error: asm/bug.h: There is no file or directory compilation terminated.

we don't have enough expertise to compile with kernel header. :(