Git Product home page Git Product logo

vda5050_adapter_examples's People

Contributors

leandropineda avatar nv-yuzho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vda5050_adapter_examples's Issues

development docker build fails due to duplicate presence of vda5050_msgs

Hy,
thank you for providing this example setup!
I tried to build your development docker image, running ./setup.sh following this ReadMe nad ended up having following error:

 => ERROR [deployment-development 10/11] RUN --mount=type=ssh,mode=0666 /bin/bash -c    'source /opt/ros/galactic/setup.bash    && git clone --branch galactic-devel https://github.com/inorbit-ai/ro  3.0s
------                                                                                                                                                                                                      
 > [deployment-development 10/11] RUN --mount=type=ssh,mode=0666 /bin/bash -c    'source /opt/ros/galactic/setup.bash    && git clone --branch galactic-devel https://github.com/inorbit-ai/ros_amr_interop.git    && mv ros_amr_interop/vda5050_connector ./src/vda5050_connector    && /bin/bash -c "source /opt/ros/galactic/setup.bash && colcon build"':                                                           
#0 0.533 Cloning into 'ros_amr_interop'...                                                                                                                                                                  
#0 2.910 [0.301s] ERROR:colcon:colcon build: Duplicate package names not supported:                                                                                                                         
#0 2.910 - vda5050_msgs:
#0 2.910   - ros_amr_interop/vda5050_msgs
#0 2.910   - src/vda5050_msgs

I saw that https://github.com/inorbit-ai/ros_amr_interop.git already includes the vda5050_msgs package.

In the end, commenting the relevant part from here to here i was able to run the simulation as well as the TB3 adapter.

# Clone and compile vda5050_msgs
RUN /bin/bash -c \
   'mkdir -p src && source /opt/ros/galactic/setup.bash' 
#&& git clone --branch ros2-vda5050-v2 https://github.com/ipa320/vda5050_msgs.git \
#&& mv vda5050_msgs/vda5050_msgs ./src/vda5050_msgs \
#&& rm -rf vda5050_msgs \
#&& /bin/bash -c "source /opt/ros/galactic/setup.bash && colcon build"' 

initPosition VDA Action not finishing

Hy!

When calling the initPosition actionType as e.g. indicated in in this ReadMe, the action seems to never switch its state to finish.

I had a look at the tb3_adapter.py and found that most probably the block of code from here to here should not be part of the else scope. When shifting it outward, the action returns after some seconds with follwoing output:

[vda5050_controller.py-2] [INFO] [1668002862.962848970] [vda5050_connector.controller]: VDA Action finished. Result: vda5050_msgs.msg.CurrentAction(action_id='add9173d-9546-47b7-8cdf-77badd3fa1bf', action_description='', action_status='FINISHED', result_description='')

Running without Docker

Hi,

I have tried to run it without Docker, but this is the output I get:

Screenshot from 2023-03-22 12-47-55
Screenshot from 2023-03-22 12-59-11
Screenshot from 2023-03-22 12-48-30
Screenshot from 2023-03-22 12-51-14

The topics are getting published on ROS2 but not on MQTT. Apparently, is not connecting to the MQTT broker.

Steps to follow:
Ubuntu 22.04
ROS2 Humble

Packages in workspace:
Screenshot from 2023-03-22 12-52-11

Execution:

  • Start Mosquitto broker with Docker (T1): docker run --rm --network host --name mosquitto eclipse-mosquitto
  • Launch TurtleBot 3 simulation (T2):
    export TURTLEBOT3_MODEL=waffle
    export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/humble/share/turtlebot3_gazebo/models
    export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
    ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False

I manually set the initial pose of the TurtleBot 3

Screenshot from 2023-03-22 12-49-34
Screenshot from 2023-03-22 12-49-41

  • Launch connector tb3 (T3): ros2 launch vda5050_tb3_adapter connector_tb3.launch.py

However, if I just run: ros2 launch vda5050_connector mqtt_bridge.launch.py, this happens:

Screenshot from 2023-03-22 12-53-14
Screenshot from 2023-03-22 13-08-55

Any clue? Thank you very much!

Not getting factsheet when publishing instantAction factsheetRequest

Hi,
I am trying to retrieve the factsheet of the turtlebot 3 because I would like to see an actual example of it. However, when publishing the instant action factsheetRequest, I get an error. I am unsure if I have added all the needed parameters and if they are correct:

{
"version": "2.0.0",
"manufacturer": "OSRF",
"serialNumber": "TB3_1",
"actions": [
{
"actionType": "factsheetRequest",
"actionId": "'$(cat /proc/sys/kernel/random/uuid)'",
"blockingType": "NONE",
"actionParameters": []
}
]
}

This is the error I get:
error

Any clue? Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.