Open alaurenzi opened 1 year ago
A docker based on the latest commit of the demo2022
branch is now available for testing.
roscore
)./docker/run-docker.bash
terminator
instance will appearmon launch centauro_cartesio_config centauro_manipulation.launch gui:=true
tom_centauro_udp_server_ros
tom_centauro_udp_client_ros
@siddharthdeore
Hi @alaurenzi,
Docker image is perfect, I have updated the packet and tested it with new dummy client, pushed to the branch.
Master to Robot
master2slave
and slave2master
master2slave
varies in range -1 to 1 and three button states.Robot to Master
Thanks.
Super! I am pushing the updated docker image with latest changes that you have done. Maybe you can pull it and give it a go. Then, we can move on the base motion.
@siddharthdeore I added support for velocity control (useful for commanding the mobile base). Also, there is a new launch file to run the IK engine, which is kept inside this repository. The ee_id
for the base control is car_frame
.
Pull the image to see the changes: docker pull arturolaurenzi/tom_centauro:latest
roscore
on host machine ./docker/run-docker.bash
mon launch tom_centauro centauro_collision_avoidance.launch gui:=true
rosservice call /cartesian/car_frame/set_control_mode velocity
tom_centauro_server_ros
tom_centauro_client_velocity_ros car_frame 1.0 0.0 0.0 # ee_id vx vy vtheta
Hi, @alaurenzi ,
I have pulled latest image with tag arturolaurenzi/tom_centauro:latest
, although I see old packet structure perhaps old code inside container. For now I will manually building image and with updated source.
Can you confirm if build image is pushed to dockerhub?
PS: I have tried clearing all image cache and pulled fresh image.
Thanks
My bad, should be fixed now
Hi, let's use this issue to find an agreement on the UDP protocol to be followed in the upcoming demo(s).
I have prepared a draft packet, that you can check here.
Based on this packet layout, we could implement a minimal state machine as follows.
UDP server (i.e. slave side, or robot)
master2slave
packet on a given port (8081 at the moment)slave2master
feedback packetmaster2slave::run
was true, the received pose command is forwarded to the IKSee this ROS-based example.
UDP client (i.e. master side, or tele-operation device)
master2slave
packet to the server's address/port;master2slave::run
is set tofalse
, as the client does not know how to initialize its pose command;master2slave::ee_id
is the URDF name of the link to control;recvfrom
); the first time a response packet is received, the client's pose command is initialized with the received feedback data, andmaster2slave::run
is set totrue