[2024-02-14] This Bi-Weekly in Dora-rs #426
Replies: 2 comments 6 replies
-
CommunityFOSDEM
RustNL
AI_devAI_dev is a nexus for developers delving into the intricate realm of open source generative AI and machine learning. At the heart of this event is the belief that open source is the engine of innovation in AI. By uniting the brightest developers from around the world, we aim to ignite discussions, foster collaborations, and shape the trajectory of open source AI. ICRA 2024 VLLM Workshop-> https://vlmnm-workshop.github.io/
WIP: Physical Autonomous Driving Competition |
Beta Was this translation helpful? Give feedback.
-
ROS2 bridge support for C++ nodesThe implementation is almost ready to be merged. See #425 for details. Usage will look like this: auto dora_node = init_dora_node();
auto merged_events = dora_events_into_combined(std::move(dora_node.events));
auto qos = qos_default();
qos.durability = Ros2Durability::Volatile;
qos.liveliness = Ros2Liveliness::Automatic;
qos.reliable = true;
qos.max_blocking_time = 0.1;
auto ros2_context = init_ros2_context();
auto node = ros2_context->new_node("/ros2_demo", "turtle_teleop");
auto vel_topic = node->create_topic_geometry_msgs_Twist("/turtle1", "cmd_vel", qos);
auto vel_publisher = node->create_publisher(vel_topic, qos);
auto pose_topic = node->create_topic_turtlesim_Pose("/turtle1", "pose", qos);
auto pose_subscription = node->create_subscription(pose_topic, qos, merged_events);
auto event = merged_events.next();
if (event.is_dora())
{
auto dora_event = downcast_dora(std::move(event));
...
geometry_msgs::Twist twist = {
.linear = {.x = 1, .y = 0, .z = 0},
.angular = {.x = 0, .y = 0, .z = 1}
};
vel_publisher->publish(twist);
}
else if (pose_subscription->matches(event))
{
auto pose = pose_subscription->downcast(std::move(event));
std::cout << "Received pose x:" << pose.x << ", y:" << pose.y << std::endl;
} I'm currently working on documenting the build and usage instructions in a new |
Beta Was this translation helpful? Give feedback.
-
Happy Chinese New Year 🐉
Beta Was this translation helpful? Give feedback.
All reactions