rosserial with Platformio

asked 2021-03-23 06:25:02 -0600

EPisano gravatar image

Hello,

I'm working with the ESC-B-G431 ESC-B-G431 and platformio. Right now everything is working.

  • Original 1
[env:disco__b_g431b_esc1]
platform = ststm32
board = disco__b_g431b_esc1
framework = arduino
monitor_speed = 115200
build_flags = 
    -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
    -D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
    -D PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED_FULLMODE
lib_deps = 
    https://github.com/simplefoc/Arduino-FOC
    SPI
    Wire

I'm designing a motor control interface with ros. However, I'm facing many problems. I don't know how to integrate the rosserial- package in my platformio and make it work (compile /catkin_make).

  • ROS implementation
[env:disco__b_g431b_esc1]
platform = ststm32
board = disco__b_g431b_esc1
framework = arduino
monitor_speed = 115200
build_flags = 
    -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
    -D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
    -D PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED_FULLMODE
lib_deps = 
    https://github.com/simplefoc/Arduino-FOC
    SPI
    Wire
    **frankjoshua/Rosserial Arduino Library @ 0.7.9**

I'm open for solutions without using platformio.

Best regards,

EPisano

edit retag flag offensive close merge delete