{"id":21103090,"url":"https://github.com/robotnikautomation/axis_camera","last_synced_at":"2025-05-16T18:34:59.485Z","repository":{"id":141529098,"uuid":"54387057","full_name":"RobotnikAutomation/axis_camera","owner":"RobotnikAutomation","description":"Contains Robotnik basic Python drivers for accessing an Axis camera's MJPG stream based on axis_camera ROS driver. Also provides control for PTZ cameras.","archived":false,"fork":false,"pushed_at":"2024-09-10T05:31:27.000Z","size":97,"stargazers_count":5,"open_issues_count":1,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-09-10T07:59:47.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobotnikAutomation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-21T12:31:45.000Z","updated_at":"2024-07-31T05:48:37.000Z","dependencies_parsed_at":"2024-06-22T08:18:16.677Z","dependency_job_id":"51a0c332-cf4c-47ae-ba9d-e7c807b313bf","html_url":"https://github.com/RobotnikAutomation/axis_camera","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobotnikAutomation%2Faxis_camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobotnikAutomation%2Faxis_camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobotnikAutomation%2Faxis_camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobotnikAutomation%2Faxis_camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobotnikAutomation","download_url":"https://codeload.github.com/RobotnikAutomation/axis_camera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225444585,"owners_count":17475354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T23:57:39.645Z","updated_at":"2024-11-19T23:57:40.216Z","avatar_url":"https://github.com/RobotnikAutomation.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# axis_camera\n\n## Overview\n\nThis ROS_ package provides an [Axis network camera](https://www.axis.com/products/network-cameras) driver, written in Python.\n\nROS wiki documentation: [axis_camera](http://wiki.ros.org/axis_camera).\n\nThis driver is under active development. Its ROS interfaces are relatively stable, but may still change.  \n\n## Nodes\n\n- axis_node.py: Version 2 of the axis.py node. It works based on profiles + params. It is necessary to have the profiles defined. **Sets up axis camera and ptz server.**\n\n## Configuration\n\nIf we want to use camera_info publication it is important that configuration .yaml has the same resolution than the resolution set in the camera (using or not profiles)\n\n### How to set up your axis camera\n\n\u003e Note: if you are using AXIS M5054 you can use p5534 configuration files.\n\n#### 1. Change your model name on launch file\n\nIn `launch/axis.launch`:\n\n```yaml\n\u003carg name=\"camera_model\" default=\"axis_model\"/\u003e\n```\n\n```yaml\n\u003cparam name=\"camera_model\" value=\"axis_model\"/\u003e\n```\n\n#### 2. Create parameter files for your camera model\n\n- `config/axis_model_ptz_config.yaml`: ptz control parameters\n- `data/axis_model.ayml`: camera parameters\n\n### Testing your camera\n\nThere are three different launch files in this package.\n\n\u003e Note: if you encounter this error while trying to run any of the following commands just type `export ROS_NAMESPACE=axis` in your console.\n\n- For running the camera control node and starting the live view GUI:\n```\nroslaunch axis_camera start_axis_and_video.launch\n```\n\n- For running only the camera control node:\n```\nroslaunch axis_camera axis.launch\n```\n\n- For running only the live view GUI (camera control node must be running):\n```\nroslaunch axis_camera image_view.launch\n```\n\n- You can also run image_view directly (setting the image topic to `/axis/image_color`):\n```\nrosrun image_view image_view image:=/axis/image_color\n```\n\n### Controlling your camera\n\nYou can send your camera PTZ commands via the `/axis/axis_camera/ptz_command` topic:\n\n```\nrostopic pub /axis/axis_camera/ptz_command robotnik_msgs/ptz \"pan: 0.5\ntilt: -1.0\nzoom: 2.0\nrelative: false\" \n```\n\n* params pan and tilt as float (radians)\n* param zoom as float (proportional zoom between 0 and 9999)\n* param relative as bool (increases the current pan,tilt,zoom relative to the current values)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobotnikautomation%2Faxis_camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobotnikautomation%2Faxis_camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobotnikautomation%2Faxis_camera/lists"}