Comment by Orhan for I am building my own 4WD model and I am trying to...
Yes you have to spawn the robot and controllers must be up and running first before checking anything in Rviz. Also don't forget to set fixed frame in rviz to the correct one
View ArticleComment by Weasfas for I am building my own 4WD model and I am trying to...
Hi, @moshahin You may want to load your controllers in the harware_interface, try to instantiate the trasnmission like this:...
View ArticleComment by moshahin for I am building my own 4WD model and I am trying to...
@Orhan thank you, that seemed to do the trick! @Weasfas thank you for your response. With regards to the joint_state_publisher, when I don't include the joint_state_publisher in the launch file, Rviz...
View ArticleComment by Weasfas for I am building my own 4WD model and I am trying to...
@moshahin, that is probably because you have a broken `tf_tree`, you can check this by running `rosrun rqt_tf_tree rqt_tf_tree`. If that is the case, it means that, either your description is not being...
View ArticleComment by moshahin for I am building my own 4WD model and I am trying to...
@Weasfas I figured out why the `tf_tree` was broken. I wasn't aware that the gazebo node published to the topic `/monsterborg/joint_states` and the whole time the `robot_state_publisher` node was...
View ArticleComment by Weasfas for I am building my own 4WD model and I am trying to...
@moshahin Glad I helped you but remember that if your `tf_tree` is fine you just need to set the Rviz `fixed_frame` to `odom`/`world`/`map` frame or whatever frame you have in which you reflect the...
View ArticleComment by moshahin for I am building my own 4WD model and I am trying to...
@Weasfas In the launch file I posted, I created a static transform `/world` that the `base_link` is connected to. I made sure to set the `fixed_frame` as `/world` but the same thing happened. Has it...
View ArticleComment by Weasfas for I am building my own 4WD model and I am trying to...
Ok, to be more precise. The standard mobile robot tf frames should be: World->Map->Odom->Base_footprint->Base_link I think the fact that the robot is not moving in Rviz but Gazebo is...
View ArticleContoller Spawner and transform problem in RViz
I am building my own 4WD model and I am trying to implement 4 velocity controllers (one for each motor). The issue arises when I execute my launch file (which contains the controller_spawner node),...
View Article